CodePointReader

fm.common.CodePointReader
See theCodePointReader companion object

Similar to Reader except for reading Unicode Code Points instead of Java Characters.

See java.io.Reader for API descriptions. The behavior of this trait should mimic java.io.Reader.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object empty.type

Members list

Concise view

Value members

Abstract methods

def close(): Unit

Closes the stream and releases any system resources associated with it.

Closes the stream and releases any system resources associated with it.

Attributes

def read(buf: Array[Int], off: Int, len: Int): Int

Reads code points into a portion of an array.

Reads code points into a portion of an array.

Attributes

Concrete methods

def mark(readAheadLimit: Int): Unit

Marks the present position in the stream.

Marks the present position in the stream.

Attributes

def markSupported(): Boolean

Tells whether this stream supports the mark() operation.

Tells whether this stream supports the mark() operation.

Attributes

def read(): Int

Reads a single code point.

Reads a single code point.

Attributes

def read(buf: Array[Int]): Int

Reads code points into an array.

Reads code points into an array.

Attributes

def read(target: IntBuffer): Int

Attempts to read characters into the specified int buffer.

Attempts to read characters into the specified int buffer.

Attributes

def ready(): Boolean

Tells whether this stream is ready to be read.

Tells whether this stream is ready to be read.

Attributes

def reset(): Unit

Resets the stream.

Resets the stream.

Attributes

def skip(n: Long): Long

Skips characters.

Skips characters.

Attributes