Class

spray.json.ParserInput

ByteArrayBasedParserInput

Related Doc: package ParserInput

Permalink

class ByteArrayBasedParserInput extends IndexedBytesParserInput

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteArrayBasedParserInput
  2. IndexedBytesParserInput
  3. DefaultParserInput
  4. ParserInput
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteArrayBasedParserInput(bytes: Array[Byte])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var _cursor: Int

    Permalink
    Attributes
    protected
    Definition Classes
    DefaultParserInput
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def byteAt(offset: Int): Byte

    Permalink
    Attributes
    protected
    Definition Classes
    ByteArrayBasedParserInputIndexedBytesParserInput
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def cursor: Int

    Permalink
    Definition Classes
    DefaultParserInputParserInput
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getLine(index: Int): Line

    Permalink
    Definition Classes
    DefaultParserInputParserInput
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def length: Int

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def nextChar(): Char

    Permalink

    Advance the cursor and get the next 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.

    Definition Classes
    IndexedBytesParserInputParserInput
  19. def nextUtf8Char(): Char

    Permalink

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

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

    Definition Classes
    IndexedBytesParserInputParserInput
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def sliceCharArray(start: Int, end: Int): Array[Char]

    Permalink
    Definition Classes
    ByteArrayBasedParserInputParserInput
  23. def sliceString(start: Int, end: Int): String

    Permalink
    Definition Classes
    ByteArrayBasedParserInputParserInput
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IndexedBytesParserInput

Inherited from DefaultParserInput

Inherited from ParserInput

Inherited from AnyRef

Inherited from Any

Ungrouped