C# 클래스 Brunet.Util.NumberSerializer

파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 메소드들

메소드 설명
GetByteCount ( string s ) : int
NumberSerializer ( ) : System
ReadBool ( Stream s ) : bool
ReadDouble ( MemBlock mb ) : double
ReadDouble ( MemBlock mb, int offset ) : double
ReadDouble ( Stream s ) : double
ReadDouble ( byte bin, int offset ) : double
ReadFlag ( byte bin, int offset ) : bool
ReadFloat ( MemBlock mb ) : float
ReadFloat ( MemBlock mb, int offset ) : float
ReadFloat ( Stream s ) : float
ReadFloat ( byte bin, int offset ) : float
ReadInt ( MemBlock mb, int offset ) : int
ReadInt ( System s ) : int
ReadInt ( byte bin, int offset ) : int
ReadLong ( MemBlock bin, int offset ) : long
ReadLong ( System s ) : long
ReadLong ( byte bin, int offset ) : long
ReadShort ( MemBlock bin, int offset ) : short
ReadShort ( System s ) : short
ReadShort ( byte bin, int offset ) : short
ReadString ( MemBlock b, int offset, int &bytelength ) : string
ReadString ( System s, int &len ) : string
ReadString ( byte bin, int offset, int &bytelength ) : string
WriteDouble ( double value, Stream s ) : void
WriteDouble ( double value, byte target, int offset ) : void
WriteFlag ( bool flag, byte target, int offset ) : void
WriteFloat ( float value, Stream s ) : void
WriteFloat ( float value, byte target, int offset ) : void
WriteInt ( int val, Stream s ) : void
WriteInt ( int val, byte target, int offset ) : void
WriteLong ( long val, Stream s ) : void
WriteLong ( long lval, byte target, int offset ) : void
WriteShort ( short val, Stream s ) : void
WriteShort ( short val, byte target, int offset ) : void
WriteString ( string svalue, Stream s ) : int
WriteString ( string svalue, byte target, int offset ) : int
WriteUInt ( uint val, Stream s ) : void
WriteUInt ( uint val, byte target, int offset ) : void
WriteULong ( ulong val, Stream s ) : void
WriteUShort ( ushort val, Stream s ) : void
WriteUShort ( ushort val, byte target, int offset ) : void

보호된 메소드들

메소드 설명
SwapEndianism ( byte data, int offset, int length ) : void

비공개 메소드들

메소드 설명
Test ( ) : void

메소드 상세

GetByteCount() 공개 정적인 메소드

public static GetByteCount ( string s ) : int
s string
리턴 int

NumberSerializer() 공개 메소드

public NumberSerializer ( ) : System
리턴 System

ReadBool() 공개 정적인 메소드

public static ReadBool ( Stream s ) : bool
s Stream
리턴 bool

ReadDouble() 공개 정적인 메소드

public static ReadDouble ( MemBlock mb ) : double
mb MemBlock
리턴 double

ReadDouble() 공개 정적인 메소드

public static ReadDouble ( MemBlock mb, int offset ) : double
mb MemBlock
offset int
리턴 double

ReadDouble() 공개 정적인 메소드

public static ReadDouble ( Stream s ) : double
s Stream
리턴 double

ReadDouble() 공개 정적인 메소드

public static ReadDouble ( byte bin, int offset ) : double
bin byte
offset int
리턴 double

ReadFlag() 공개 정적인 메소드

public static ReadFlag ( byte bin, int offset ) : bool
bin byte
offset int
리턴 bool

ReadFloat() 공개 정적인 메소드

public static ReadFloat ( MemBlock mb ) : float
mb MemBlock
리턴 float

ReadFloat() 공개 정적인 메소드

public static ReadFloat ( MemBlock mb, int offset ) : float
mb MemBlock
offset int
리턴 float

ReadFloat() 공개 정적인 메소드

public static ReadFloat ( Stream s ) : float
s Stream
리턴 float

ReadFloat() 공개 정적인 메소드

public static ReadFloat ( byte bin, int offset ) : float
bin byte
offset int
리턴 float

ReadInt() 공개 정적인 메소드

public static ReadInt ( MemBlock mb, int offset ) : int
mb MemBlock
offset int
리턴 int

ReadInt() 공개 정적인 메소드

public static ReadInt ( System s ) : int
s System
리턴 int

ReadInt() 공개 정적인 메소드

public static ReadInt ( byte bin, int offset ) : int
bin byte
offset int
리턴 int

ReadLong() 공개 정적인 메소드

public static ReadLong ( MemBlock bin, int offset ) : long
bin MemBlock
offset int
리턴 long

ReadLong() 공개 정적인 메소드

public static ReadLong ( System s ) : long
s System
리턴 long

ReadLong() 공개 정적인 메소드

public static ReadLong ( byte bin, int offset ) : long
bin byte
offset int
리턴 long

ReadShort() 공개 정적인 메소드

public static ReadShort ( MemBlock bin, int offset ) : short
bin MemBlock
offset int
리턴 short

ReadShort() 공개 정적인 메소드

public static ReadShort ( System s ) : short
s System
리턴 short

ReadShort() 공개 정적인 메소드

public static ReadShort ( byte bin, int offset ) : short
bin byte
offset int
리턴 short

ReadString() 공개 정적인 메소드

public static ReadString ( MemBlock b, int offset, int &bytelength ) : string
b MemBlock
offset int
bytelength int
리턴 string

ReadString() 공개 정적인 메소드

public static ReadString ( System s, int &len ) : string
s System
len int
리턴 string

ReadString() 공개 정적인 메소드

public static ReadString ( byte bin, int offset, int &bytelength ) : string
bin byte
offset int
bytelength int
리턴 string

SwapEndianism() 보호된 정적인 메소드

protected static SwapEndianism ( byte data, int offset, int length ) : void
data byte
offset int
length int
리턴 void

WriteDouble() 공개 정적인 메소드

public static WriteDouble ( double value, Stream s ) : void
value double
s Stream
리턴 void

WriteDouble() 공개 정적인 메소드

public static WriteDouble ( double value, byte target, int offset ) : void
value double
target byte
offset int
리턴 void

WriteFlag() 공개 정적인 메소드

public static WriteFlag ( bool flag, byte target, int offset ) : void
flag bool
target byte
offset int
리턴 void

WriteFloat() 공개 정적인 메소드

public static WriteFloat ( float value, Stream s ) : void
value float
s Stream
리턴 void

WriteFloat() 공개 정적인 메소드

public static WriteFloat ( float value, byte target, int offset ) : void
value float
target byte
offset int
리턴 void

WriteInt() 공개 정적인 메소드

public static WriteInt ( int val, Stream s ) : void
val int
s Stream
리턴 void

WriteInt() 공개 정적인 메소드

public static WriteInt ( int val, byte target, int offset ) : void
val int
target byte
offset int
리턴 void

WriteLong() 공개 정적인 메소드

public static WriteLong ( long val, Stream s ) : void
val long
s Stream
리턴 void

WriteLong() 공개 정적인 메소드

public static WriteLong ( long lval, byte target, int offset ) : void
lval long
target byte
offset int
리턴 void

WriteShort() 공개 정적인 메소드

public static WriteShort ( short val, Stream s ) : void
val short
s Stream
리턴 void

WriteShort() 공개 정적인 메소드

public static WriteShort ( short val, byte target, int offset ) : void
val short
target byte
offset int
리턴 void

WriteString() 공개 정적인 메소드

public static WriteString ( string svalue, Stream s ) : int
svalue string
s Stream
리턴 int

WriteString() 공개 정적인 메소드

public static WriteString ( string svalue, byte target, int offset ) : int
svalue string
target byte
offset int
리턴 int

WriteUInt() 공개 정적인 메소드

public static WriteUInt ( uint val, Stream s ) : void
val uint
s Stream
리턴 void

WriteUInt() 공개 정적인 메소드

public static WriteUInt ( uint val, byte target, int offset ) : void
val uint
target byte
offset int
리턴 void

WriteULong() 공개 정적인 메소드

public static WriteULong ( ulong val, Stream s ) : void
val ulong
s Stream
리턴 void

WriteUShort() 공개 정적인 메소드

public static WriteUShort ( ushort val, Stream s ) : void
val ushort
s Stream
리턴 void

WriteUShort() 공개 정적인 메소드

public static WriteUShort ( ushort val, byte target, int offset ) : void
val ushort
target byte
offset int
리턴 void