Class SprayJsonByteStringParserInput
java.lang.Object
spray.json.ParserInput.DefaultParserInput
spray.json.ParserInput.IndexedBytesParserInput
org.apache.pekko.http.scaladsl.marshallers.sprayjson.SprayJsonByteStringParserInput
- All Implemented Interfaces:
- spray.json.ParserInput
public final class SprayJsonByteStringParserInput
extends spray.json.ParserInput.IndexedBytesParserInput
INTERNAL API
 
ParserInput reading directly off a ByteString. (Based on the ByteArrayBasedParserInput) that avoids a separate decoding step.
- 
Nested Class SummaryNested classes/interfaces inherited from interface spray.json.ParserInputspray.json.ParserInput.ByteArrayBasedParserInput, spray.json.ParserInput.CharArrayBasedParserInput, spray.json.ParserInput.DefaultParserInput, spray.json.ParserInput.IndexedBytesParserInput, spray.json.ParserInput.Line, spray.json.ParserInput.Line$, spray.json.ParserInput.StringBasedParserInput
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected bytebyteAt(int offset) intlength()char[]sliceCharArray(int start, int end) sliceString(int start, int end) Methods inherited from class spray.json.ParserInput.IndexedBytesParserInputnextChar, nextUtf8CharMethods inherited from class spray.json.ParserInput.DefaultParserInput_cursor, _cursor_$eq, cursor, getLine
- 
Constructor Details- 
SprayJsonByteStringParserInputpublic SprayJsonByteStringParserInput(org.apache.pekko.util.ByteString bytes) 
 
- 
- 
Method Details- 
byteAtprotected byte byteAt(int offset) - Specified by:
- byteAtin class- spray.json.ParserInput.IndexedBytesParserInput
 
- 
lengthpublic int length()- Specified by:
- lengthin interface- spray.json.ParserInput
- Specified by:
- lengthin class- spray.json.ParserInput.IndexedBytesParserInput
 
- 
sliceCharArraypublic char[] sliceCharArray(int start, int end) 
- 
sliceString
 
-