Class Serialization
- Namespace
- Concordium.Sdk.Helpers
- Assembly
- Concordium.Sdk.dll
Helpers for serializing data.
public static class Serialization
- Inheritance
-
Serialization
- Inherited Members
Methods
ToBytes(ushort)
Copies the bytes representing the specified ulong in big-endian format to a byte array.
public static byte[] ToBytes(ushort value)
Parameters
valueushort
Returns
- byte[]
ToBytes(uint)
Copies the bytes representing the specified ulong in big-endian format to a byte array.
public static byte[] ToBytes(uint value)
Parameters
valueuint
Returns
- byte[]
ToBytes(ulong)
Copies the bytes representing the specified ulong in big-endian format to a byte array.
public static byte[] ToBytes(ulong value)
Parameters
valueulong
Returns
- byte[]