IEncoding
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
Defines a common interface for objects that can provide string encoding.
Methods
Decode(string)
Decodes the given string to its byte representation.
Parameters
Name | Description |
---|---|
The encoded string. |
Returns
Name | Description |
---|---|
The decoded string buffer. |
Encode(byte[])
Encodes the given buffer.
Parameters
Name | Description |
---|---|
The buffer. |
Returns
Name | Description |
---|---|
The encoded string. |
IsValidChar(char)
Query if the given character is a valid for encoding.
Parameters
Name | Description |
---|---|
The input character. |
Returns
Name | Description |
---|---|
true if valid character, false if not. |
Last updated