Table of Contents

Namespace Hi3Helper.Plugin.Core.Utility.Json.Converters

Classes

BytesStringToArrayJsonConverter

Converts a string of bytes (in either Hex or Base64 format) into an array of bytes.
This converter writes back to Base64 format for its JSON value.

BytesStringToArrayJsonConverter<TStruct>

Converts a string of bytes (in either Hex or Base64 format) into an array of structs that are bit-able (unmanaged).
This converter writes back to Base64 format for its JSON value.

HexStringToArrayJsonConverter<TStruct>

Converts Hex String to Array of any struct type that's bit-able.

Utf16SpanParsableJsonConverter<TSpan>

Converts any struct with both ISpanParsable<TSelf> and ISpanFormattable into the string representation.

Utf8SpanParsableJsonConverter<TSpan>

Converts any struct with both IUtf8SpanParsable<TSelf> and IUtf8SpanFormattable into the string representation.

Utf8SpanParsableToBytesJsonConverter<TSpan>

Converts any struct with both IUtf8SpanParsable<TSelf> and IUtf8SpanFormattable into byte array and vice versa.