C# Class LCM.LCM.LCMDataInputStream

Will not throw EOF.
Inheritance: System.IO.BinaryReader
Exibir arquivo Open project: mlab-upenn/arch-apex Class Usage Examples

Public Methods

Method Description
Close ( ) : void
LCMDataInputStream ( byte buf ) : System
LCMDataInputStream ( byte buf, int offset, int len ) : System
ReadBoolean ( ) : bool
ReadByte ( ) : byte
ReadChar ( ) : char
ReadDouble ( ) : double
ReadFully ( byte b ) : void
ReadFully ( byte b, int off, int len ) : void
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadInt64 ( ) : long
ReadSByte ( ) : sbyte
ReadSingle ( ) : float
ReadString ( ) : string
ReadStringZ ( ) : string

Read a string of 8-bit characters terminated by a zero. The zero is consumed.

ReadUInt16 ( ) : ushort
ReadUTF ( ) : string
Reset ( ) : void
SkipBytes ( int n ) : int

Private Methods

Method Description
NeedInput ( int need ) : void

Method Details

Close() public method

public Close ( ) : void
return void

LCMDataInputStream() public method

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

LCMDataInputStream() public method

public LCMDataInputStream ( byte buf, int offset, int len ) : System
buf byte
offset int
len int
return System

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadChar() public method

public ReadChar ( ) : char
return char

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadFully() public method

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

ReadFully() public method

public ReadFully ( byte b, int off, int len ) : void
b byte
off int
len int
return void

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadSByte() public method

public ReadSByte ( ) : sbyte
return sbyte

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadString() public method

public ReadString ( ) : string
return string

ReadStringZ() public method

Read a string of 8-bit characters terminated by a zero. The zero is consumed.
public ReadStringZ ( ) : string
return string

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUTF() public method

public ReadUTF ( ) : string
return string

Reset() public method

public Reset ( ) : void
return void

SkipBytes() public method

public SkipBytes ( int n ) : int
n int
return int