ByteArrayBasedParserInput

smile.json.ParserInput.ByteArrayBasedParserInput

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
trait ParserInput
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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

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

def cursor: Int

Attributes

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

Attributes

Inherited from:
DefaultParserInput

Inherited fields

protected var _cursor: Int

Attributes

Inherited from:
DefaultParserInput