Class Base64Decoder
Provides functionality to decode data from a Base64-encoded source one byte at a time.
Inherited Members
Namespace: TriLibCore.Utils
Assembly: TriLibCore.dll
Syntax
public class Base64Decoder
Constructors
Base64Decoder()
Declaration
public Base64Decoder()
Methods
DecodeByte(byte, out byte)
Decodes a single Base64 character (in byte form) and produces an output byte, if enough data has been gathered.
Declaration
public bool DecodeByte(byte data, out byte output)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | data | The byte representing a Base64 character. Whitespace and certain control characters
(such as |
| byte | output | When this method returns true, contains the decoded byte.
When this method returns false, the |
Returns
| Type | Description |
|---|---|
| bool | true if a decoded byte is produced by this method; otherwise, false. |
Exceptions
| Type | Condition |
|---|---|
| FormatException | Thrown if the specified |