C# Class convcv2.Program.Binary

Exibir arquivo Open project: kghost/th123_toolset

Public Properties

Property Type Description
BaseStream Stream

Public Methods

Method Description
Binary ( Stream s ) : System
ReadByte ( ) : int
ReadBytes ( int count ) : byte[]
ReadBytes ( byte buff, int offset, int count ) : void
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadSingle ( ) : float
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
WriteByte ( byte x ) : void
WriteBytes ( byte buff ) : void
WriteInt16 ( short x ) : void
WriteInt32 ( int x ) : void
WriteSingle ( float x ) : void
WriteUInt16 ( ushort x ) : void
WriteUInt32 ( uint x ) : void

Private Methods

Method Description
ReadBytesInternal ( int count ) : byte[]
WriteBytesInternal ( byte buff ) : void

Method Details

Binary() public method

public Binary ( Stream s ) : System
s Stream
return System

ReadByte() public method

public ReadByte ( ) : int
return int

ReadBytes() public method

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

ReadBytes() public method

public ReadBytes ( byte buff, int offset, int count ) : void
buff byte
offset int
count int
return void

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

WriteByte() public method

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

WriteBytes() public method

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

WriteInt16() public method

public WriteInt16 ( short x ) : void
x short
return void

WriteInt32() public method

public WriteInt32 ( int x ) : void
x int
return void

WriteSingle() public method

public WriteSingle ( float x ) : void
x float
return void

WriteUInt16() public method

public WriteUInt16 ( ushort x ) : void
x ushort
return void

WriteUInt32() public method

public WriteUInt32 ( uint x ) : void
x uint
return void

Property Details

BaseStream public_oe property

public Stream BaseStream
return Stream