Table of Contents

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

value ushort

The value to convert.

Returns

byte[]

GetBytes(uint)

Converts a uint value to a little-endian byte array.

public static byte[] GetBytes(uint value)

Parameters

value uint

The value to convert.

Returns

byte[]

GetBytes(ulong)

Converts a ulong value to a little-endian byte array.

public static byte[] GetBytes(ulong value)

Parameters

value ulong

The value to convert.

Returns

byte[]