Hex Class
Namespace: Yubico.Core.Buffers Assembly: Yubico.Core.dllClass for encoding and decoding bytes into base-16 encoded text, otherwise known as hexadecimal.
C#
public class Hex : Base16, ITextEncoding
Implements
Remarks
This class is an alias for Base16. New code should use that class
Constructors
Name | Description |
---|---|
Hex() |
Methods
Name | Description |
---|---|
BytesToHex(ReadOnlySpan<Byte>) | Encode the byte collection into a string representation. |
HexToBytes(String) | Decode the string into a byte array. |