C# Class Fanx.Util.Box

Box is a byte buffer used to pack a fcode/class file.
Show file Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
buf byte[]
len int

Public Methods

Method Description
Box ( ) : System
Box ( byte buf ) : System
Box ( byte buf, int len ) : System
append ( Box box ) : void
dump ( ) : void
f4 ( float v ) : void
f8 ( double v ) : void
skip ( int num ) : void
u1 ( int v ) : void
u2 ( int v ) : void
u2 ( int pos, int v ) : void
u4 ( int v ) : void
u4 ( int pos, int v ) : void
u4 ( int pos, uint v ) : void
u4 ( uint v ) : void
u8 ( long v ) : void
utf ( string s ) : void

Private Methods

Method Description
grow ( ) : void

Method Details

Box() public method

public Box ( ) : System
return System

Box() public method

public Box ( byte buf ) : System
buf byte
return System

Box() public method

public Box ( byte buf, int len ) : System
buf byte
len int
return System

append() public method

public append ( Box box ) : void
box Box
return void

dump() public method

public dump ( ) : void
return void

f4() public method

public f4 ( float v ) : void
v float
return void

f8() public method

public f8 ( double v ) : void
v double
return void

skip() public method

public skip ( int num ) : void
num int
return void

u1() public method

public u1 ( int v ) : void
v int
return void

u2() public method

public u2 ( int v ) : void
v int
return void

u2() public method

public u2 ( int pos, int v ) : void
pos int
v int
return void

u4() public method

public u4 ( int v ) : void
v int
return void

u4() public method

public u4 ( int pos, int v ) : void
pos int
v int
return void

u4() public method

public u4 ( int pos, uint v ) : void
pos int
v uint
return void

u4() public method

public u4 ( uint v ) : void
v uint
return void

u8() public method

public u8 ( long v ) : void
v long
return void

utf() public method

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

Property Details

buf public property

public byte[] buf
return byte[]

len public property

public int len
return int