C# 클래스 EmoteNet.Binary

파일 보기 프로젝트 열기: xmoeproject/X-moe

공개 메소드들

메소드 설명
AsciiEqual ( byte name1, int offset, string name2 ) : bool
AsciiEqual ( byte name1, string name2 ) : bool
BigEndian ( int i ) : int
BigEndian ( long i ) : long
BigEndian ( short i ) : short
BigEndian ( uint u ) : uint
BigEndian ( ulong u ) : ulong
BigEndian ( ushort u ) : ushort
CopyOverlapped ( byte data, int src, int dst, int count ) : void
GetCString ( byte data, int index, int length_limit ) : string
GetCString ( byte data, int index, int length_limit, Encoding enc ) : string
RotByteL ( byte v, int count ) : byte
RotByteR ( byte v, int count ) : byte
RotL ( uint v, int count ) : uint
RotL ( ulong v, int count ) : ulong
RotR ( uint v, int count ) : uint
RotR ( ulong v, int count ) : ulong

메소드 상세

AsciiEqual() 공개 정적인 메소드

public static AsciiEqual ( byte name1, int offset, string name2 ) : bool
name1 byte
offset int
name2 string
리턴 bool

AsciiEqual() 공개 정적인 메소드

public static AsciiEqual ( byte name1, string name2 ) : bool
name1 byte
name2 string
리턴 bool

BigEndian() 공개 정적인 메소드

public static BigEndian ( int i ) : int
i int
리턴 int

BigEndian() 공개 정적인 메소드

public static BigEndian ( long i ) : long
i long
리턴 long

BigEndian() 공개 정적인 메소드

public static BigEndian ( short i ) : short
i short
리턴 short

BigEndian() 공개 정적인 메소드

public static BigEndian ( uint u ) : uint
u uint
리턴 uint

BigEndian() 공개 정적인 메소드

public static BigEndian ( ulong u ) : ulong
u ulong
리턴 ulong

BigEndian() 공개 정적인 메소드

public static BigEndian ( ushort u ) : ushort
u ushort
리턴 ushort

CopyOverlapped() 공개 정적인 메소드

public static CopyOverlapped ( byte data, int src, int dst, int count ) : void
data byte
src int
dst int
count int
리턴 void

GetCString() 공개 정적인 메소드

public static GetCString ( byte data, int index, int length_limit ) : string
data byte
index int
length_limit int
리턴 string

GetCString() 공개 정적인 메소드

public static GetCString ( byte data, int index, int length_limit, Encoding enc ) : string
data byte
index int
length_limit int
enc System.Text.Encoding
리턴 string

RotByteL() 공개 정적인 메소드

public static RotByteL ( byte v, int count ) : byte
v byte
count int
리턴 byte

RotByteR() 공개 정적인 메소드

public static RotByteR ( byte v, int count ) : byte
v byte
count int
리턴 byte

RotL() 공개 정적인 메소드

public static RotL ( uint v, int count ) : uint
v uint
count int
리턴 uint

RotL() 공개 정적인 메소드

public static RotL ( ulong v, int count ) : ulong
v ulong
count int
리턴 ulong

RotR() 공개 정적인 메소드

public static RotR ( uint v, int count ) : uint
v uint
count int
리턴 uint

RotR() 공개 정적인 메소드

public static RotR ( ulong v, int count ) : ulong
v ulong
count int
리턴 ulong