yabase/base10

Values

pub fn decode(
  input: String,
) -> Result(BitArray, error.CodecError)

Decode a decimal string to a BitArray.

pub fn encode(data: BitArray) -> String

Encode a BitArray to a decimal string.

Sub-byte input panics; see yabase/core/guard.assert_byte_aligned.

Search Document