object Internal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Internal
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val defaultBufferGrowthRatio: Int
- val defaultMaxBufferStartSize: Int
- val defaultMinBufferStartSize: Int
- def encodedLength(sequence: String): Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transfer(src: InputStream, dest: OutputStream, minBufferSize: Int = defaultMinBufferStartSize, maxBufferSize: Int = defaultMaxBufferStartSize, bufferGrowthRatio: Int = defaultBufferGrowthRatio): Unit
- def transfer0(src: InputStream, sink: (Array[Byte], Int) => Unit, minBufferSize: Int = defaultMinBufferStartSize, maxBufferSize: Int = defaultMaxBufferStartSize, bufferGrowthRatio: Int = defaultBufferGrowthRatio): Unit
Transfers data from the given
InputStream
through a to a sink function through a dynamically sized transfer buffer.Transfers data from the given
InputStream
through a to a sink function through a dynamically sized transfer buffer.The buffer is sized based on the
.available
number on the input stream, clamped a minBufferSize and maxBufferSize size, and allowed to grow in increments of 2x if the total amount of bytes transferred exceeds the size of the buffer by bufferGrowthRatio.This should allow efficient processing of
InputStream
s of all sizes, from the tiny to the very large, without over- or under- allocating the size of the transfer buffer. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()