EndianBitConverter Class |
Namespace: AGI.Foundation.Infrastructure
The EndianBitConverter type exposes the following members.
Name | Description | |
---|---|---|
BigEndian |
Gets an EndianBitConverter that assumes all bytes are in Big Endian byte order.
| |
LittleEndian |
Gets an EndianBitConverter that assumes all bytes are in Little Endian byte order.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FromDouble |
Converts the specified double-precision floating point value and stores the bytes in the given array.
| |
FromInt16 |
Converts the specified 16-bit signed integer value and stores the bytes in the given array.
| |
FromInt32 |
Converts the specified 32-bit signed integer value and stores the bytes in the given array.
| |
FromInt64 |
Converts the specified 64-bit signed integer value and stores the bytes in the given array.
| |
FromUInt16 |
Converts the specified 16-bit unsigned integer value and stores the bytes in the given array.
| |
FromUInt32 |
Converts the specified 32-bit unsigned integer value and stores the bytes in the given array.
| |
GetBytes(Double) |
Returns the specified double-precision floating point value as an array of bytes.
| |
GetBytes(Int16) |
Returns the specified 16-bit signed integer value as an array of bytes.
| |
GetBytes(Int32) |
Returns the specified 32-bit signed integer value as an array of bytes.
| |
GetBytes(Int64) |
Returns the specified 64-bit signed integer value as an array of bytes.
| |
GetBytes(Single) |
Returns the specified single-precision floating point value as an array of bytes.
| |
GetBytes(UInt16) |
Returns the specified 16-bit unsigned integer value as an array of bytes.
| |
GetBytes(UInt32) |
Returns the specified 32-bit unsigned integer value as an array of bytes.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToDouble |
Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.
| |
ToInt16 |
Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
| |
ToInt32 |
Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
| |
ToInt64 |
Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
| |
ToSingle |
Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToUInt16 |
Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
| |
ToUInt32 |
Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
|