C# Class LCM.LCM.LCMDataOutputStream

Inheritance: System.IO.BinaryWriter
显示文件 Open project: mlab-upenn/arch-apex Class Usage Examples

Public Methods

Method Description
LCMDataOutputStream ( ) : System
LCMDataOutputStream ( byte buf ) : System
LCMDataOutputStream ( int sz ) : System
Reset ( ) : void
ToByteArray ( ) : byte[]

Makes a copy of the internal buffer.

Write ( bool v ) : void
Write ( byte b ) : void
Write ( byte b, int off, int len ) : void
Write ( char v ) : void
Write ( double v ) : void
Write ( float v ) : void
Write ( int v ) : void
Write ( long v ) : void
Write ( sbyte v ) : void
Write ( short v ) : void
WriteBytes ( string s ) : void
WriteChars ( string s ) : void
WriteStringZ ( string s ) : void

Write a zero-terminated string consisting of 8 bit characters.

WriteUTF ( string s ) : void

Private Methods

Method Description
EnsureSpace ( int needed ) : void

Method Details

LCMDataOutputStream() public method

public LCMDataOutputStream ( ) : System
return System

LCMDataOutputStream() public method

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

LCMDataOutputStream() public method

public LCMDataOutputStream ( int sz ) : System
sz int
return System

Reset() public method

public Reset ( ) : void
return void

ToByteArray() public method

Makes a copy of the internal buffer.
public ToByteArray ( ) : byte[]
return byte[]

Write() public method

public Write ( bool v ) : void
v bool
return void

Write() public method

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

Write() public method

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

Write() public method

public Write ( char v ) : void
v char
return void

Write() public method

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

Write() public method

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

Write() public method

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

Write() public method

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

Write() public method

public Write ( sbyte v ) : void
v sbyte
return void

Write() public method

public Write ( short v ) : void
v short
return void

WriteBytes() public method

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

WriteChars() public method

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

WriteStringZ() public method

Write a zero-terminated string consisting of 8 bit characters.
public WriteStringZ ( string s ) : void
s string
return void

WriteUTF() public method

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