Class BitConverterLE
- Namespace
- SunamoShared.Helpers.Text
- Assembly
- SunamoShared.dll
Provides little-endian byte conversion methods for unsigned integer types.
public static class BitConverterLE
- Inheritance
-
BitConverterLE
- Inherited Members
Methods
GetBytes(ushort)
Converts a ushort value to a little-endian byte array.
public static byte[] GetBytes(ushort value)
Parameters
valueushortThe value to convert.
Returns
- byte[]
GetBytes(uint)
Converts a uint value to a little-endian byte array.
public static byte[] GetBytes(uint value)
Parameters
valueuintThe value to convert.
Returns
- byte[]
GetBytes(ulong)
Converts a ulong value to a little-endian byte array.
public static byte[] GetBytes(ulong value)
Parameters
valueulongThe value to convert.
Returns
- byte[]