C# Class Moxiecode.MXI.BinaryReader

Datei anzeigen Open project: openHPI/moodle-mod_teletask

Public Methods

Method Description
BYTE ( long idx ) : int
BinaryReader ( Stream stream ) : System
LONG ( long idx ) : long
SEGMENT ( int idx = -1, int length = -1, byte segment = null ) : byte[]
SHORT ( long idx ) : int
SLONG ( long idx ) : long
STRING ( long idx, int size ) : string
clear ( ) : void
read ( long idx, int size ) : long
write ( int idx, int num, int size ) : void

Private Methods

Method Description
_insert ( byte segment, int idx, int size ) : void

Method Details

BYTE() public method

public BYTE ( long idx ) : int
idx long
return int

BinaryReader() public method

public BinaryReader ( Stream stream ) : System
stream Stream
return System

LONG() public method

public LONG ( long idx ) : long
idx long
return long

SEGMENT() public method

public SEGMENT ( int idx = -1, int length = -1, byte segment = null ) : byte[]
idx int
length int
segment byte
return byte[]

SHORT() public method

public SHORT ( long idx ) : int
idx long
return int

SLONG() public method

public SLONG ( long idx ) : long
idx long
return long

STRING() public method

public STRING ( long idx, int size ) : string
idx long
size int
return string

clear() public method

public clear ( ) : void
return void

read() public method

public read ( long idx, int size ) : long
idx long
size int
return long

write() public method

public write ( int idx, int num, int size ) : void
idx int
num int
size int
return void