Skip to content
FutureBlitz

    Install

    Import std.text.encoding

    Base32

    std.text.encoding

    struct

    Public Struct Base32

    Base32, as RFC 4648 has it, which writes each 5 bytes as 8 of the characters "A" to "Z" and "2" to "7", and "=" filling out the last 8, for text that's read aloud or typed, whatever its case.

    std/text/encoding.fb, line 326

    • Public Static Method Encode(bytes: UInt8[], padding: Bool = True): String static method #

      bytes as Base32, filled out with "=" when padding says.

    • Public Static Method Decode(text: String): UInt8[]? static method #

      The bytes Base32 text holds, in either case, with "=" filling out its end or not, or Null when it isn't Base32.

    Report an issue with this page or with FutureBlitz on GitHub.