C# Class YurikoCS.BinaryHelper

Show file Open project: ItalianDevs4PM/Yuriko-CS

Public Methods

Method Description
BinaryHelper ( MemoryStream stream ) : System
ReadByte ( ) : byte
ReadByte ( MemoryStream stream ) : byte
ReadByte ( MemoryStream stream, int index ) : byte
ReadByte ( int index ) : byte
ReadBytes ( MemoryStream stream, int size ) : byte[]
ReadBytes ( MemoryStream stream, int size, int index ) : byte[]
ReadBytes ( int size ) : byte[]
ReadBytes ( int size, int index ) : byte[]
ReadInt ( ) : int
ReadInt ( MemoryStream stream ) : int
ReadInt ( MemoryStream stream, int index ) : int
ReadInt ( int index ) : int
ReadLong ( ) : long
ReadLong ( MemoryStream stream ) : long
ReadLong ( MemoryStream stream, int index ) : long
ReadLong ( int index ) : long
ReadShort ( ) : short
ReadShort ( MemoryStream stream ) : short
ReadShort ( MemoryStream stream, int index ) : short
ReadShort ( int index ) : short
ReadString ( ) : string
ReadString ( MemoryStream stream ) : string
ReadString ( MemoryStream stream, int index ) : string
ReadString ( int index ) : string
ReadTriad ( ) : Triad
ReadTriad ( MemoryStream stream ) : Triad
ReadTriad ( MemoryStream stream, int index ) : Triad
ReadTriad ( int index ) : Triad
Reset ( MemoryStream stream ) : MemoryStream
Reset ( MemoryStream stream, byte data ) : MemoryStream
Reset ( ) : void
Reset ( byte data ) : void
WriteByte ( MemoryStream stream, byte b ) : void
WriteByte ( MemoryStream stream, byte b, int index ) : void
WriteByte ( byte b ) : void
WriteByte ( byte b, int index ) : void
WriteBytes ( MemoryStream stream, byte bs ) : void
WriteBytes ( MemoryStream stream, byte bs, int index ) : void
WriteBytes ( byte bs ) : void
WriteBytes ( byte bs, int index ) : void
WriteFloat ( MemoryStream stream, float f ) : void
WriteFloat ( MemoryStream stream, float f, int index ) : void
WriteFloat ( float f ) : void
WriteFloat ( float f, int index ) : void
WriteInt ( MemoryStream stream, int i ) : void
WriteInt ( MemoryStream stream, int i, int index ) : void
WriteInt ( int i ) : void
WriteInt ( int i, int index ) : void
WriteLong ( MemoryStream stream, long l ) : void
WriteLong ( MemoryStream stream, long l, int index ) : void
WriteLong ( long l ) : void
WriteLong ( long l, int index ) : void
WriteShort ( MemoryStream stream, short s ) : void
WriteShort ( MemoryStream stream, short s, int index ) : void
WriteShort ( short s ) : void
WriteShort ( short s, int index ) : void
WriteString ( MemoryStream stream, string s ) : void
WriteString ( MemoryStream stream, string s, int index ) : void
WriteString ( string s ) : void
WriteString ( string s, int index ) : void
WriteTriad ( MemoryStream stream, Triad t ) : void
WriteTriad ( MemoryStream stream, Triad t, int index ) : void
WriteTriad ( Triad t ) : void
WriteTriad ( Triad t, int index ) : void

Method Details

BinaryHelper() public method

public BinaryHelper ( MemoryStream stream ) : System
stream System.IO.MemoryStream
return System

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadByte() public static method

public static ReadByte ( MemoryStream stream ) : byte
stream System.IO.MemoryStream
return byte

ReadByte() public static method

public static ReadByte ( MemoryStream stream, int index ) : byte
stream System.IO.MemoryStream
index int
return byte

ReadByte() public method

public ReadByte ( int index ) : byte
index int
return byte

ReadBytes() public static method

public static ReadBytes ( MemoryStream stream, int size ) : byte[]
stream System.IO.MemoryStream
size int
return byte[]

ReadBytes() public static method

public static ReadBytes ( MemoryStream stream, int size, int index ) : byte[]
stream System.IO.MemoryStream
size int
index int
return byte[]

ReadBytes() public method

public ReadBytes ( int size ) : byte[]
size int
return byte[]

ReadBytes() public method

public ReadBytes ( int size, int index ) : byte[]
size int
index int
return byte[]

ReadInt() public method

public ReadInt ( ) : int
return int

ReadInt() public static method

public static ReadInt ( MemoryStream stream ) : int
stream System.IO.MemoryStream
return int

ReadInt() public static method

public static ReadInt ( MemoryStream stream, int index ) : int
stream System.IO.MemoryStream
index int
return int

ReadInt() public method

public ReadInt ( int index ) : int
index int
return int

ReadLong() public method

public ReadLong ( ) : long
return long

ReadLong() public static method

public static ReadLong ( MemoryStream stream ) : long
stream System.IO.MemoryStream
return long

ReadLong() public static method

public static ReadLong ( MemoryStream stream, int index ) : long
stream System.IO.MemoryStream
index int
return long

ReadLong() public method

public ReadLong ( int index ) : long
index int
return long

ReadShort() public method

public ReadShort ( ) : short
return short

ReadShort() public static method

public static ReadShort ( MemoryStream stream ) : short
stream System.IO.MemoryStream
return short

ReadShort() public static method

public static ReadShort ( MemoryStream stream, int index ) : short
stream System.IO.MemoryStream
index int
return short

ReadShort() public method

public ReadShort ( int index ) : short
index int
return short

ReadString() public method

public ReadString ( ) : string
return string

ReadString() public static method

public static ReadString ( MemoryStream stream ) : string
stream System.IO.MemoryStream
return string

ReadString() public static method

public static ReadString ( MemoryStream stream, int index ) : string
stream System.IO.MemoryStream
index int
return string

ReadString() public method

public ReadString ( int index ) : string
index int
return string

ReadTriad() public method

public ReadTriad ( ) : Triad
return Triad

ReadTriad() public static method

public static ReadTriad ( MemoryStream stream ) : Triad
stream System.IO.MemoryStream
return Triad

ReadTriad() public static method

public static ReadTriad ( MemoryStream stream, int index ) : Triad
stream System.IO.MemoryStream
index int
return Triad

ReadTriad() public method

public ReadTriad ( int index ) : Triad
index int
return Triad

Reset() public static method

public static Reset ( MemoryStream stream ) : MemoryStream
stream System.IO.MemoryStream
return System.IO.MemoryStream

Reset() public static method

public static Reset ( MemoryStream stream, byte data ) : MemoryStream
stream System.IO.MemoryStream
data byte
return System.IO.MemoryStream

Reset() public method

public Reset ( ) : void
return void

Reset() public method

public Reset ( byte data ) : void
data byte
return void

WriteByte() public static method

public static WriteByte ( MemoryStream stream, byte b ) : void
stream System.IO.MemoryStream
b byte
return void

WriteByte() public static method

public static WriteByte ( MemoryStream stream, byte b, int index ) : void
stream System.IO.MemoryStream
b byte
index int
return void

WriteByte() public method

public WriteByte ( byte b ) : void
b byte
return void

WriteByte() public method

public WriteByte ( byte b, int index ) : void
b byte
index int
return void

WriteBytes() public static method

public static WriteBytes ( MemoryStream stream, byte bs ) : void
stream System.IO.MemoryStream
bs byte
return void

WriteBytes() public static method

public static WriteBytes ( MemoryStream stream, byte bs, int index ) : void
stream System.IO.MemoryStream
bs byte
index int
return void

WriteBytes() public method

public WriteBytes ( byte bs ) : void
bs byte
return void

WriteBytes() public method

public WriteBytes ( byte bs, int index ) : void
bs byte
index int
return void

WriteFloat() public static method

public static WriteFloat ( MemoryStream stream, float f ) : void
stream MemoryStream
f float
return void

WriteFloat() public static method

public static WriteFloat ( MemoryStream stream, float f, int index ) : void
stream MemoryStream
f float
index int
return void

WriteFloat() public method

public WriteFloat ( float f ) : void
f float
return void

WriteFloat() public method

public WriteFloat ( float f, int index ) : void
f float
index int
return void

WriteInt() public static method

public static WriteInt ( MemoryStream stream, int i ) : void
stream MemoryStream
i int
return void

WriteInt() public static method

public static WriteInt ( MemoryStream stream, int i, int index ) : void
stream MemoryStream
i int
index int
return void

WriteInt() public method

public WriteInt ( int i ) : void
i int
return void

WriteInt() public method

public WriteInt ( int i, int index ) : void
i int
index int
return void

WriteLong() public static method

public static WriteLong ( MemoryStream stream, long l ) : void
stream MemoryStream
l long
return void

WriteLong() public static method

public static WriteLong ( MemoryStream stream, long l, int index ) : void
stream MemoryStream
l long
index int
return void

WriteLong() public method

public WriteLong ( long l ) : void
l long
return void

WriteLong() public method

public WriteLong ( long l, int index ) : void
l long
index int
return void

WriteShort() public static method

public static WriteShort ( MemoryStream stream, short s ) : void
stream MemoryStream
s short
return void

WriteShort() public static method

public static WriteShort ( MemoryStream stream, short s, int index ) : void
stream MemoryStream
s short
index int
return void

WriteShort() public method

public WriteShort ( short s ) : void
s short
return void

WriteShort() public method

public WriteShort ( short s, int index ) : void
s short
index int
return void

WriteString() public static method

public static WriteString ( MemoryStream stream, string s ) : void
stream MemoryStream
s string
return void

WriteString() public static method

public static WriteString ( MemoryStream stream, string s, int index ) : void
stream MemoryStream
s string
index int
return void

WriteString() public method

public WriteString ( string s ) : void
s string
return void

WriteString() public method

public WriteString ( string s, int index ) : void
s string
index int
return void

WriteTriad() public static method

public static WriteTriad ( MemoryStream stream, Triad t ) : void
stream MemoryStream
t Triad
return void

WriteTriad() public static method

public static WriteTriad ( MemoryStream stream, Triad t, int index ) : void
stream MemoryStream
t Triad
index int
return void

WriteTriad() public method

public WriteTriad ( Triad t ) : void
t Triad
return void

WriteTriad() public method

public WriteTriad ( Triad t, int index ) : void
t Triad
index int
return void