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
Methods
Name | Description |
---|---|
BytesToHex(ReadOnlySpan<byte>) | Encode the byte collection into a string representation. |
HexToBytes(string) | Decode the string into a byte array. |