Expand description
Utility functions for binary operations used in TACT file formats
Functionsยง
- jenkins3_
hashpath - Perform a
HashPath
withhashlittle2
(aka: jenkins3). - read_
cstring - Read a null-terminated C string from a byte slice
- read_
cstring_ from - Read a C string from a reader
- read_
uint40 - Read a 40-bit (5-byte) unsigned integer from a byte slice (little-endian)
- read_
uint40_ be - Read a 40-bit (5-byte) unsigned integer from a byte slice (big-endian)
- read_
uint40_ be_ from - Read a 40-bit unsigned integer from a cursor (big-endian)
- read_
uint40_ from - Read a 40-bit unsigned integer from a cursor (little-endian)
- read_
varint - Read a variable-length integer from a byte slice
- write_
uint40 - Write a 40-bit (5-byte) unsigned integer to a byte array (little-endian)
- write_
uint40_ be - Write a 40-bit (5-byte) unsigned integer to a byte array (big-endian)
- write_
varint - Write a variable-length integer to a byte vector