Method | Description | |
---|---|---|
ByteArrayToString ( byte data ) : string | ||
HexDump ( byte bytes ) : string | ||
ReadAllBytes ( this source ) : byte[] |
Reads the contents of the stream into a byte array. data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.
|
|
ReadFully ( this stream, byte buffer ) : void | ||
ReadFully ( this stream, byte buffer, int index, int length ) : void | ||
ReadSizeEx ( this reader ) : uint | ||
StringToByteArray ( string hex ) : byte[] | ||
ToBigEndian ( uint source ) : uint | ||
ToBigEndian ( ushort source ) : ushort | ||
WriteSizeEx ( this writer, int len ) : void | ||
WriteSizeEx ( this writer, uint len ) : void |
Method | Description | |
---|---|---|
HexChar ( int value ) : char |
public static ByteArrayToString ( byte data ) : string | ||
data | byte | |
return | string |
public static HexDump ( byte bytes ) : string | ||
bytes | byte | |
return | string |
public static ReadAllBytes ( this source ) : byte[] | ||
source | this | The stream to read. |
return | byte[] |
public static ReadFully ( this stream, byte buffer ) : void | ||
stream | this | |
buffer | byte | |
return | void |
public static ReadFully ( this stream, byte buffer, int index, int length ) : void | ||
stream | this | |
buffer | byte | |
index | int | |
length | int | |
return | void |
public static ReadSizeEx ( this reader ) : uint | ||
reader | this | |
return | uint |
public static StringToByteArray ( string hex ) : byte[] | ||
hex | string | |
return | byte[] |
public static ToBigEndian ( uint source ) : uint | ||
source | uint | |
return | uint |
public static ToBigEndian ( ushort source ) : ushort | ||
source | ushort | |
return | ushort |
public static WriteSizeEx ( this writer, int len ) : void | ||
writer | this | |
len | int | |
return | void |
public static WriteSizeEx ( this writer, uint len ) : void | ||
writer | this | |
len | uint | |
return | void |