Get a context that provides facilities for helping with Adaptive Scrooge decoding.
Return the underlying Array[Byte] used in reading
Return the underlying Array[Byte] used in reading
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Given a backing Array[Byte] and offset, decode this type from it using this TProtocol's deserializer
Return the offset currently on the underlying array byte of the transport used in reading.
Return the offset currently on the underlying array byte of the transport used in reading.
Skips the length of a string on the underlying transport Returns: The offset at which the string can be read.
Skips the length of a string on the underlying transport Returns: The offset at which the string can be read.
Skips the length of a boolean on the underlying transport Returns: The offset at which the boolean can be read.
Skips the length of a boolean on the underlying transport Returns: The offset at which the boolean can be read.
Skips the length of a byte on the underlying transport Returns: The offset at which the byte can be read.
Skips the length of a byte on the underlying transport Returns: The offset at which the byte can be read.
Skips the length of a double on the underlying transport Returns: The offset at which the double can be read.
Skips the length of a double on the underlying transport Returns: The offset at which the double can be read.
Skip an Enum.
Skip an Enum. This still involves parsing but no objects are created.
Skips the length of a short on the underlying transport Returns: The offset at which the short can be read.
Skips the length of a short on the underlying transport Returns: The offset at which the short can be read.
Skips the length of a int on the underlying transport Returns: The offset at which the int can be read.
Skips the length of a int on the underlying transport Returns: The offset at which the int can be read.
Skips the length of a long on the underlying transport Returns: The offset at which the long can be read.
Skips the length of a long on the underlying transport Returns: The offset at which the long can be read.
Skip a list.
Skip a list. This still involves parsing but no objects are created.
The offset at which the list can be read.
Skip a map.
Skip a map. This still involves parsing but no objects are created.
The offset at which the map can be read.
Skip a set.
Skip a set. This still involves parsing but no objects are created.
The offset at which the set can be read.
Skips the length of a string on the underlying transport Returns: The offset at which the string can be read.
Skips the length of a string on the underlying transport Returns: The offset at which the string can be read.
Skip a struct.
Skip a struct. This still involves parsing but no objects are created.
The offset at which the struct can be read.
Create a new protocol object set up to read from given bytes.
Take a segment of an Array[Byte] and presume it is already encoded for this transport and just copy it down.
Take a segment of an Array[Byte] and presume it is already encoded for this transport and just copy it down.
This is useful if we have a cached set of bytes used when deserializing a field or struct
An extension to the TProtocol to enable adaptive reading. Learn from the access pattern to skip unused fields and avoid creating them, thus making parse faster and reduce GC.
Also enable caching of a backing Array[Byte] so we can serialize quickly what we just deserialized if unchanged.