ByteString represents an immutable sequence of bytes.
This PR adds support for creating ByteString instances from byte[] or ReadOnlyMemory<byte>, automatic conversion to/from Variant, and JSON serializer support.
ByteString allows for better compatibility with e.g OPC UA-based adapters, as OPC UA allows byte sequences to be encoded as either OPC UA byte strings, or as regular byte arrays.
ByteString
represents an immutable sequence of bytes.This PR adds support for creating
ByteString
instances frombyte[]
orReadOnlyMemory<byte>
, automatic conversion to/fromVariant
, and JSON serializer support.ByteString
allows for better compatibility with e.g OPC UA-based adapters, as OPC UA allows byte sequences to be encoded as either OPC UA byte strings, or as regular byte arrays.