Source/Packages

Std.Codec

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

221 lines16 declarations8.7 KiBSHA-256 660b0bd459e5

field · lines 21–21

stdDecodedRest

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.
21field unrestricted stdDecodedRest : Bytes

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.