<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.0" />

HexEncoder

public class HexEncoder : IEncoder
protected readonly byte[] decodingTable

protected readonly byte[] encodingTable

public HexEncoder()

public int Decode(byte[] data, int off, int length, Stream outStream)

public int Decode(ReadOnlySpan<byte> data, Stream outStream)

public int DecodeString(string data, Stream outStream)

public int Encode(byte[] inBuf, int inOff, int inLen, byte[] outBuf, int outOff)

public int Encode(ReadOnlySpan<byte> input, Span<byte> output)

public int Encode(byte[] buf, int off, int len, Stream outStream)

public int Encode(ReadOnlySpan<byte> data, Stream outStream)

protected void InitialiseDecodingTable()