C# 클래스 eveMarshal.Utility

파일 보기 프로젝트 열기: stschake/eveMarshal

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
HexChar ( int value ) : char

메소드 상세

ByteArrayToString() 공개 정적인 메소드

public static ByteArrayToString ( byte data ) : string
data byte
리턴 string

HexDump() 공개 정적인 메소드

public static HexDump ( byte bytes ) : string
bytes byte
리턴 string

ReadAllBytes() 공개 정적인 메소드

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.
The stream does not support reading. Methods were called after the stream was closed. An I/O error occurs.
public static ReadAllBytes ( this source ) : byte[]
source this The stream to read.
리턴 byte[]

ReadFully() 공개 정적인 메소드

public static ReadFully ( this stream, byte buffer ) : void
stream this
buffer byte
리턴 void

ReadFully() 공개 정적인 메소드

public static ReadFully ( this stream, byte buffer, int index, int length ) : void
stream this
buffer byte
index int
length int
리턴 void

ReadSizeEx() 공개 정적인 메소드

public static ReadSizeEx ( this reader ) : uint
reader this
리턴 uint

StringToByteArray() 공개 정적인 메소드

public static StringToByteArray ( string hex ) : byte[]
hex string
리턴 byte[]

ToBigEndian() 공개 정적인 메소드

public static ToBigEndian ( uint source ) : uint
source uint
리턴 uint

ToBigEndian() 공개 정적인 메소드

public static ToBigEndian ( ushort source ) : ushort
source ushort
리턴 ushort

WriteSizeEx() 공개 정적인 메소드

public static WriteSizeEx ( this writer, int len ) : void
writer this
len int
리턴 void

WriteSizeEx() 공개 정적인 메소드

public static WriteSizeEx ( this writer, uint len ) : void
writer this
len uint
리턴 void