Structure of the packet.
Structure for other temporary fields that you want to reference, but don't want in the final packet.
Structure of the packet.
Structure for other temporary fields that you want to reference, but don't want in the final packet.
Get the truncation mode of the underlying reader.
True if truncation allowed.
Sets the truncation mode of the underlying reader. May not be set to false.
How many bytes are left to be read?
Is the packet in littleEndian mode by default?
The current offset into the reader.
Packet. Only the fields that you have already read may be accessed.
Possibly-incomplete packet, even though the type is complete.
Temporary storage. Only the fields that you have already read may be accessed.
Possibly-incomplete temp data, even though the type is complete.
Is this underlying reader truncated?
True if truncated.
Some higher-level processor has detected truncation. Must not be set to false.
Store some number of bytes, interpreted as an ASCII string.
Field to write to in packet or temp.
Number of bytes to read.
This, for chaining.
Copy some of the bits from one existing field to another. Does not work for fields larger than 53 bits. For fields larger than 32 bits, use bigints, as returned from u64(). Should only be applied to unsigned from fields. Bits are numbered with 0 on the right, MSB on the left. Start and finish can be in either order.
Copy some of the bits from one existing field to another. Does not work for fields larger than 53 bits. For fields larger than 32 bits, use bigints, as returned from u64(). Should only be applied to unsigned from fields. Bits are numbered with 0 on the right, MSB on the left. Start and finish can be in either order.
Copy some of the bits from one existing field to another. Does not work for fields larger than 53 bits. For fields larger than 32 bits, use bigints, as returned from u64(). Should only be applied to unsigned from fields. Bits are numbered with 0 on the right, MSB on the left. Start and finish can be in either order.
Copy some of the bits from one existing field to another. Does not work for fields larger than 53 bits. For fields larger than 32 bits, use bigints, as returned from u64(). Should only be applied to unsigned from fields. Bits are numbered with 0 on the right, MSB on the left. Start and finish can be in either order.
Store some number of bytes.
Field to write to in packet or temp.
Number of bytes to read.
This, for chaining.
Assert that all of the data been read. Throws an exception if extra data.
This, for chaining.
Turn on truncation for this stream.
This, for chaining.
Store a 16 bit float.
Field to write to in packet or temp.
This, for chaining.
Store a 32 bit float.
Field to write to in packet or temp.
This, for chaining.
Store a 64 bit float.
Field to write to in packet or temp.
This, for chaining.
Store a signed 16 bit integer.
Field to write to in packet or temp.
This, for chaining.
Store a signed 32 bit integer.
Field to write to in packet or temp.
This, for chaining.
Store a signed 64 bit integer as a bigint.
Field to write to in packet or temp.
This, for chaining.
Store a signed 8 bit integer.
Field to write to in packet or temp.
This, for chaining.
Convenience function to perhaps execute a read. Does not call the function if input was truncated.
Should fn be executed?
Run if doIt is true.
This, for chaining.
Reset all packet data, temp data, and return reader to the start. Mostly useful for testing.
This, for chaining.
Skip over some bytes in the stream.
Number of bytes to skip.
This, for chaining.
Convenience function to repeat reading a given number of times.
This, for chaining.
Convenience function to repeat reading a given number of times.
Packet field name to read into, as an array.
Number of times to call fn.
Function that reads.
This, for chaining.
Convenience function to repeat reading a given number of times.
This, for chaining.
Store an unsigned 16 bit integer.
Field to write to in packet or temp.
This, for chaining.
Store an unsigned 32 bit integer.
Field to write to in packet or temp.
This, for chaining.
Store an unsigned 64 bit integer as a bigint.
Field to write to in packet or temp.
This, for chaining.
Store an unsigned 8 bit integer.
Field to write to in packet or temp.
This, for chaining.
Store all of the data that has yet to be read.
Field to write to in packet or temp.
This, for chaining.
Store some number of bytes, interpreted as a UTF8 string.
Field to write to in packet or temp.
Number of bytes to read.
This, for chaining.
Repeat the given read until a condition fails.
Packet field name to read into, as an array.
While this function returns true, keep calling read.
The value returned from this function is added to the array.
Optionalopts: NotTemp<W[], T[V]>Read options.
Repeat the given read until a condition fails.
Packet field name to read into, as an array.
While this function returns true, keep calling read.
The value returned from this function is added to the array.
Read options.
Repeat the given read until a condition fails.
Packet field name to read into, as an array.
While this function returns true, keep calling read.
The value returned from this function is added to the array.
Read options.
Capture fields from a packet in a way that allows accessing the previously- read fields while reading subsequent fields.