Base32Encoding
Namespace: SnowBank.Text · class
Helper type for using the Base32 encoding
Remarks
This encoding only uses alphanumeric characters, with uppercase letters A to Z and digits 2 to 7. The digits 0 and 1 are omitted since they could be confused with the letters O, I or l
Methods
FromBase32
static byte[] FromBase32(string input)
Decodes a Base32 string literal into a byte array
static byte[] FromBase32(ReadOnlySpan<char> input)
Decodes a Base32 string literal into a byte array
ToBase32
static string ToBase32(byte[] input)
Encodes a byte array into a Base32 string literal
static string ToBase32(Slice input)
Encodes a byte buffer into a Base32 string literal
static string ToBase32(ReadOnlySpan<byte> input)
Encodes a byte buffer into a Base32 string literal