ByteArrayBasedParserInput

wjson.ParserInput$.ByteArrayBasedParserInput
class ByteArrayBasedParserInput(bytes: Array[Byte]) extends DefaultParserInput

ParserInput reading directly off a byte array which is assumed to contain the UTF-8 encoded representation of the JSON input, without requiring a separate decoding step.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def currentArgument: Nothing
def length: Int
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

def nextUtf8Char(): Char

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

def sliceCharArray(start: Int, end: Int): Array[Char]
def sliceString(start: Int, end: Int): String

Inherited methods

protected def _cursor: Int

Attributes

Inherited from:
DefaultParserInput
protected def _cursor_=(pos: Int): Unit

Attributes

Inherited from:
DefaultParserInput
def cursor: Int

Attributes

Inherited from:
DefaultParserInput
def getLine(index: Int): Line

Attributes

Inherited from:
DefaultParserInput