Packages

object SourceReader

Source
SourceReader.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SourceReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def decode(decoder: CharsetDecoder, bytes: ByteBuffer, chars: CharBuffer, endOfInput: Boolean): CharBuffer

    Decodes the content of the specified byte buffer with the specified decoder into the specified char buffer, allocating bigger ones if necessary, then compacts the byte buffer and returns the last allocated char buffer.

    Decodes the content of the specified byte buffer with the specified decoder into the specified char buffer, allocating bigger ones if necessary, then compacts the byte buffer and returns the last allocated char buffer. The "endOfInput" argument indicates whether the byte buffer contains the last chunk of the input file.

  2. def flush(decoder: CharsetDecoder, chars: CharBuffer): CharBuffer

    Flushes the specified decoder into the specified char buffer, allocating bigger ones if necessary and then flips and returns the last allocated char buffer.