메소드 | 설명 | |
---|---|---|
BetweenBuffers ( byte destination, int dstIndex, byte source, int srcIndex, int count ) : void |
Performs either a copy or byte order reversal from the source to the destination for count bytes based on the conversion settings.
|
|
Convert ( char data ) : char |
Converts data to the target Endian format.
|
|
Convert ( double data ) : double |
Converts data to the target Endian format.
|
|
Convert ( float data ) : float |
Converts data to the target Endian format.
|
|
Convert ( int data ) : int |
Converts data to the target Endian format.
|
|
Convert ( long data ) : long |
Converts data to the target Endian format.
|
|
Convert ( short data ) : short |
Converts data to the target Endian format.
|
|
Convert ( uint data ) : uint |
Converts data to the target Endian format.
|
|
Convert ( ulong data ) : ulong |
Converts data to the target Endian format.
|
|
Convert ( ushort data ) : ushort |
Converts data to the target Endian format.
|
|
Create ( bool convert ) : EndianConverter |
Creates a converter based on whether the data needs to be converted or simply copied.
|
|
ToBytes ( char data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( double data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( float data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( int data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( long data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( short data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( uint data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( ulong data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToBytes ( ushort data, byte destination, int index ) : void |
Copies the bytes from data to destination starting at index either linearly or reversed based on the conversion settings.
|
|
ToChar ( byte data, int index ) : char |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToDouble ( byte data, int index ) : double |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToInt16 ( byte data, int index ) : short |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToInt32 ( byte data, int index ) : int |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToInt64 ( byte data, int index ) : long |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToSingle ( byte data, int index ) : float |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToUInt16 ( byte data, int index ) : ushort |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToUInt32 ( byte data, int index ) : uint |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
|
ToUInt64 ( byte data, int index ) : ulong |
Returns the type from data starting at index in the correct byte order based on the conversion settings.
|
메소드 | 설명 | |
---|---|---|
CopyLinear ( byte dst, byte src, int count ) : void | ||
CopyReverse ( byte dst, byte src, int count ) : void | ||
EndianConverter ( ) : System | ||
EndianConverter ( RawCopierDelegate copier ) : System | ||
SafeCopier ( byte dst, int dstSize, byte src, int srcSize, int count ) : void |
public BetweenBuffers ( byte destination, int dstIndex, byte source, int srcIndex, int count ) : void | ||
destination | byte | |
dstIndex | int | |
source | byte | |
srcIndex | int | |
count | int | |
리턴 | void |
public static Create ( bool convert ) : EndianConverter | ||
convert | bool | |
리턴 | EndianConverter |
public ToBytes ( char data, byte destination, int index ) : void | ||
data | char | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( double data, byte destination, int index ) : void | ||
data | double | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( float data, byte destination, int index ) : void | ||
data | float | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( int data, byte destination, int index ) : void | ||
data | int | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( long data, byte destination, int index ) : void | ||
data | long | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( short data, byte destination, int index ) : void | ||
data | short | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( uint data, byte destination, int index ) : void | ||
data | uint | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( ulong data, byte destination, int index ) : void | ||
data | ulong | |
destination | byte | |
index | int | |
리턴 | void |
public ToBytes ( ushort data, byte destination, int index ) : void | ||
data | ushort | |
destination | byte | |
index | int | |
리턴 | void |