IndexedBytesParserInput

besom.json.ParserInput.IndexedBytesParserInput

ParserInput that allows to create a ParserInput from any randomly accessible indexed byte storage.

Attributes

Graph
Supertypes
trait ParserInput
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

protected def byteAt(offset: Int): Byte
def length: Int

Concrete methods

def nextChar(): Char

Advance the cursor and get the next char. Since the char is required to be a 7-Bit ASCII char no decoding is required.

Advance the cursor and get the next char. Since the char is required to be a 7-Bit ASCII char no decoding is required.

Attributes

Advance the cursor and get the next char, which could potentially be outside of the 7-Bit ASCII range. Therefore decoding might be required.

Advance the cursor and get the next char, which could potentially be outside of the 7-Bit ASCII range. Therefore decoding might be required.

Attributes

Inherited methods

def cursor: Int

Attributes

Inherited from:
DefaultParserInput

Attributes

Inherited from:
DefaultParserInput

Attributes

Inherited from:
ParserInput

Attributes

Inherited from:
ParserInput

Inherited fields

protected var _cursor: Int

Attributes

Inherited from:
DefaultParserInput