Packages

c

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
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _cursor: Int
    Attributes
    protected
    Definition Classes
    DefaultParserInput
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def byteAt(offset: Int): Byte
    Attributes
    protected
    Definition Classes
    ByteArrayBasedParserInputIndexedBytesParserInput
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def cursor: Int
    Definition Classes
    DefaultParserInputParserInput
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getLine(index: Int): Line
    Definition Classes
    DefaultParserInputParserInput
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def length: Int
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. 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
  19. 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
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def sliceCharArray(start: Int, end: Int): Array[Char]
    Definition Classes
    ByteArrayBasedParserInputParserInput
  23. def sliceString(start: Int, end: Int): String
    Definition Classes
    ByteArrayBasedParserInputParserInput
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from IndexedBytesParserInput

Inherited from DefaultParserInput

Inherited from ParserInput

Inherited from AnyRef

Inherited from Any

Ungrouped