object SourceReader
- Source
- SourceReader.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SourceReader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
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.
-
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.
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: