Structure of the packet.
Structure for other temporary fields that you want to reference, but don't want in the final packet.
How many bytes are left to be read?
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.
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.
Description of bits to capture.
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.
Description of bits to capture.
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.
Description of bits to capture.
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.
Description of bits to capture.
Assert that all of the data been read. Throws an exception if extra data.
This, for chaining.
Convenience function to perhaps execute a read.
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.
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.
Optional
opts: NotTemp<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.
Capture fields from a packet in a way that allows accessing the previously- read fields while reading subsequent fields.