C# Class UnitWrappers.System.IO.BinaryWriterWrap

Inheritance: IBinaryWriter
Afficher le fichier Open project: OpenSharp/UnitWrappers

Méthodes publiques

Méthode 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

Méthode Description
Write ( sbyte value ) : void
Write ( uint value ) : void
Write ( ulong value ) : void
Write ( ushort value ) : void

Method Details

BinaryWriterWrap() public méthode

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.
Résultat System

BinaryWriterWrap() public méthode

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.
Résultat System

BinaryWriterWrap() public méthode

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.
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Seek() public méthode

public Seek ( int offset, SeekOrigin origin ) : long
offset int
origin SeekOrigin
Résultat long

Write() public méthode

public Write ( bool value ) : void
value bool
Résultat void

Write() public méthode

public Write ( byte value ) : void
value byte
Résultat void

Write() public méthode

public Write ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
Résultat void

Write() public méthode

public Write ( char ch ) : void
ch char
Résultat void

Write() public méthode

public Write ( char chars, int index, int count ) : void
chars char
index int
count int
Résultat void

Write() public méthode

public Write ( decimal value ) : void
value decimal
Résultat void

Write() public méthode

public Write ( double value ) : void
value double
Résultat void

Write() public méthode

public Write ( float value ) : void
value float
Résultat void

Write() public méthode

public Write ( int value ) : void
value int
Résultat void

Write() public méthode

public Write ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( short value ) : void
value short
Résultat void

Write() public méthode

public Write ( string value ) : void
value string
Résultat void