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
value
ushort
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
value
uint
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
value
ulong
Returns
- byte[]