C# Class UnitWrappers.System.IO.BinaryWriterWrap

Inheritance: IBinaryWriter
Mostrar archivo Open project: OpenSharp/UnitWrappers

Public Methods

Method Description
BinaryWriterWrap ( BinaryWriter writer ) : System

Initializes a new instance of the T:UnitWrappers.System.IO.BinaryWriterWrap class on the specified path.

BinaryWriterWrap ( Stream output ) : System

Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and using UTF-8 as the encoding for strings.

BinaryWriterWrap ( Stream output, Encoding encoding ) : System

Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and a specific character encoding.

Close ( ) : void
Dispose ( ) : void
Flush ( ) : void
Seek ( int offset, SeekOrigin origin ) : long
Write ( bool value ) : void
Write ( byte value ) : void
Write ( byte buffer, int index, int count ) : void
Write ( char ch ) : void
Write ( char chars, int index, int count ) : void
Write ( decimal value ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( short value ) : void
Write ( string value ) : void

Private Methods

Method Description
Write ( sbyte value ) : void
Write ( uint value ) : void
Write ( ulong value ) : void
Write ( ushort value ) : void

Method Details

BinaryWriterWrap() public method

Initializes a new instance of the T:UnitWrappers.System.IO.BinaryWriterWrap class on the specified path.
public BinaryWriterWrap ( BinaryWriter writer ) : System
writer System.IO.BinaryWriter The object.
return System

BinaryWriterWrap() public method

Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and using UTF-8 as the encoding for strings.
public BinaryWriterWrap ( Stream output ) : System
output Stream The output stream.
return System

BinaryWriterWrap() public method

Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and a specific character encoding.
public BinaryWriterWrap ( Stream output, Encoding encoding ) : System
output Stream The supplied stream.
encoding System.Text.Encoding The character encoding.
return System

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Seek() public method

public Seek ( int offset, SeekOrigin origin ) : long
offset int
origin SeekOrigin
return long

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 buffer, int index, int count ) : void
buffer byte
index int
count int
return void

Write() public method

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

Write() public method

public Write ( char chars, int index, int count ) : void
chars char
index int
count int
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 ( short value ) : void
value short
return void

Write() public method

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