Stream.Custom.Discharge

trait Discharge[A]

Stream inmplementations can define custom, more efficient ways to export their elements into a Buffer.

This feature is heavily used in Array and primitive based streams

Source
Discharge.scala
class java.lang.Object
trait scala.Matchable
class Any

Def

def dischargeTo(v: Buffer[A]): Unit