Type-safe codec for schema-driven encoding and decoding.
Combines a schema with encode/decode operations, ensuring type safety through TypeScript's Static type inference.
The schema this codec is based on.
Encodes a typed value to bytes.
Decodes bytes to a typed value.
Type-safe codec for schema-driven encoding and decoding.
Combines a schema with encode/decode operations, ensuring type safety through TypeScript's Static type inference.