C# Class System.IO.BinaryWriter

Inheritance: IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Свойство Type Description
Null BinaryWriter

Protected Properties

Свойство Type Description
OutStream Stream

Méthodes publiques

Méthode Description
BinaryWriter ( Stream output ) : System.Text
BinaryWriter ( Stream output, Encoding encoding ) : System.Text
BinaryWriter ( Stream output, Encoding encoding, bool leaveOpen ) : System.Text
Close ( ) : void Override Dispose(bool) instead of Close(). This API exists for compatibility purposes.
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

Méthodes protégées

Méthode Description
BinaryWriter ( ) : System.Text
Dispose ( bool disposing ) : void
Write7BitEncodedInt ( int 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

BinaryWriter() protected méthode

protected BinaryWriter ( ) : System.Text
Résultat System.Text

BinaryWriter() public méthode

public BinaryWriter ( Stream output ) : System.Text
output Stream
Résultat System.Text

BinaryWriter() public méthode

public BinaryWriter ( Stream output, Encoding encoding ) : System.Text
output Stream
encoding System.Text.Encoding
Résultat System.Text

BinaryWriter() public méthode

public BinaryWriter ( Stream output, Encoding encoding, bool leaveOpen ) : System.Text
output Stream
encoding System.Text.Encoding
leaveOpen bool
Résultat System.Text

Close() public méthode

Override Dispose(bool) instead of Close(). This API exists for compatibility purposes.
public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
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

Write7BitEncodedInt() protected méthode

protected Write7BitEncodedInt ( int value ) : void
value int
Résultat void

Property Details

Null public_oe static_oe property

public static BinaryWriter,System.IO Null
Résultat BinaryWriter

OutStream protected_oe property

protected Stream,System.IO OutStream
Résultat Stream