package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Functions

ConsumeBytes reads and throws away a number of bytes from r, returning the number of bytes it consumed.
ReadInt reads a signed integer of either 8, 16, 32 or 64 bits from r, returning the result as a int64.
ReadUint reads an unsigned integer of either 8, 16, 32 or 64 bits from r, returning the result as a uint64.
Write writes v to the writer w.
WriteBytes writes the given v for count times to writer w.
WriteInt writes the signed integer v of either 8, 16, 32 or 64 bits to w.
WriteUint writes the unsigned integer v of either 8, 16, 32 or 64 bits to w.

# Structs

BitStream provides methods for reading and writing bits to a slice of bytes.

# Interfaces

Reader provides methods for decoding values.
Writer provides methods for encoding values.