Readonlydecode: (bytes: ReadonlyUint8Array | Uint8Array, offset?: Offset) => TToReadonlyread: (bytes: ReadonlyUint8Array | Uint8Array, offset: Offset) => [TTo, Offset]Reads the encoded value from the provided byte array at the given offset. Returns the decoded value and the offset of the next byte after the encoded value.
Decodes the provided byte array at the given offset (or zero) and returns the value directly.