Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::BaseNix32 Struct Reference

Static Public Member Functions

static std::optional< uint8_t > lookupReverse (char base32)
static constexpr size_t encodedLength (size_t originalLength)
static std::string encode (std::span< const std::byte > originalData)
static std::string decode (std::string_view s)

Static Public Attributes

static constexpr std::array< char, 32 > characters = "0123456789abcdfghijklmnpqrsvwxyz"_arrayNoNull
 omitted: E O U T

Member Function Documentation

◆ encodedLength()

constexpr size_t nix::BaseNix32::encodedLength ( size_t originalLength)
inlinestaticnodiscardconstexpr

Returns the length of a base-32 representation of this hash.


The documentation for this struct was generated from the following files: