intelligentplant / AppStoreConnect.Adapters

Allows Intelligent Plant App Store Connect to query 3rd party systems
https://appstore.intelligentplant.com
MIT License
0 stars 0 forks source link

Add support for ByteString data type #371

Closed wazzamatazz closed 6 months ago

wazzamatazz commented 6 months ago

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.