C# Class Ypsilon.Core.IO.BinaryFileWriter

显示文件 Open project: ZaneDubya/YCPU Class Usage Examples

Private Properties

Property Type Description
InternalWriteString void

Public Methods

Method Description
BinaryFileWriter ( Stream strm, bool prefixStr ) : System
BinaryFileWriter ( string filename, bool prefixStr ) : System
Close ( ) : void
Flush ( ) : void
Write ( System.DateTime value ) : void
Write ( System.TimeSpan value ) : void
Write ( bool value ) : void
Write ( byte value ) : void
Write ( byte value, int offset, int count ) : void
Write ( char value ) : void
Write ( decimal value ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( sbyte value ) : void
Write ( short value ) : void
Write ( string value ) : void
Write ( uint value ) : void
Write ( ulong value ) : void
Write ( ushort value ) : void
WriteDeltaTime ( System.DateTime value ) : void
WriteEncodedInt ( int value ) : void

Private Methods

Method Description
InternalWriteString ( string value ) : void

Method Details

BinaryFileWriter() public method

public BinaryFileWriter ( Stream strm, bool prefixStr ) : System
strm Stream
prefixStr bool
return System

BinaryFileWriter() public method

public BinaryFileWriter ( string filename, bool prefixStr ) : System
filename string
prefixStr bool
return System

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Write() public method

public Write ( System.DateTime value ) : void
value System.DateTime
return void

Write() public method

public Write ( System.TimeSpan value ) : void
value System.TimeSpan
return void

Write() public method

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

Write() public method

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

Write() public method

public Write ( byte value, int offset, int count ) : void
value byte
offset int
count int
return void

Write() public method

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

Write() public method

public Write ( decimal value ) : void
value decimal
return void

Write() public method

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

Write() public method

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

Write() public method

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

Write() public method

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

Write() public method

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

Write() public method

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

Write() public method

public Write ( string value ) : void
value string
return void

Write() public method

public Write ( uint value ) : void
value uint
return void

Write() public method

public Write ( ulong value ) : void
value ulong
return void

Write() public method

public Write ( ushort value ) : void
value ushort
return void

WriteDeltaTime() public method

public WriteDeltaTime ( System.DateTime value ) : void
value System.DateTime
return void

WriteEncodedInt() public method

public WriteEncodedInt ( int value ) : void
value int
return void