spray.json.ParserInput

ByteArrayBasedParserInput

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var _cursor: Int

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

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

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

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

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

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

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

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

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

    Definition Classes
    DefaultParserInputParserInput
  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. def length: Int

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def nextChar(): Char

    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
  21. def nextUtf8Char(): Char

    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
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

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

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

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IndexedBytesParserInput

Inherited from DefaultParserInput

Inherited from ParserInput

Inherited from AnyRef

Inherited from Any

Ungrouped