Source/Packages

Std.Codec

packages/foundation/standard/src/Std/Codec.alpha

221 lines16 declarations8.7 KiBSHA-256 660b0bd459e5

constructor · lines 22–22

StdDecodedTruncated

Full file
Codecs (Language Platform PRD §28.2 Hash/codec, LP-804). Fixed-width and variable-length encodings with BOUNDED decoders: every decoder here answers with what it read and what is left, and a decoder that runs out of input answers that it did, rather than failing or reading past the end. Encodings are little-endian and canonical: one value has exactly one encoding, so equal values have equal bytes and a digest over them means something. What a decoder answers: the value and the remaining input, or the fact that the input ended too soon.
22constructor StdDecodedTruncated

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.