Base32 Class
Namespace: Yubico.Core.Buffers Assembly: Yubico.Core.dllClass for encoding and decoding bytes into Base32.
C#
public class Base32 : Object, ITextEncoding
Inheritance
System.Object
Base32
Implements
Remarks
See RFC4648 for details (https://datatracker.ietf.org/doc/html/rfc4648) on base-32.
Constructors
Name | Description |
---|---|
Base32() |
Methods
Name | Description |
---|---|
Decode(ReadOnlySpan<Char>, Span<Byte>) | Decode the string into |
Decode(String) | Decode the string into a byte array. |
DecodeText(ReadOnlySpan<Char>, Span<Byte>) | Decode the string into |
DecodeText(String) | Decode the string into a byte array. |
Encode(ReadOnlySpan<Byte>) | Encode the byte collection into a string representation. |
Encode(ReadOnlySpan<Byte>, Span<Char>) | Encode the byte collection into |
EncodeBytes(ReadOnlySpan<Byte>) | Encode the byte collection into a string representation. |
EncodeBytes(ReadOnlySpan<Byte>, Span<Char>) | Encode the byte collection into |
GetDecodedSize(ReadOnlySpan<Char>) | Get the number of bytes in data represented by base-32 encoded text. |
GetEncodedSize(Int32) | Gets the number of characters needed to encode the data. |