Show / Hide Table of Contents

Hex Class

Namespace: Yubico.Core.Buffers Assembly: Yubico.Core.dll

Class for encoding and decoding bytes into base-16 encoded text, otherwise known as hexadecimal.

C#
public class Hex : Base16, ITextEncoding
Inheritance object Base16 Hex
Implements
ITextEncoding

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.

In this article
Back to top Generated by DocFX