Method | Description | |
---|---|---|
EndianWriter ( ) : System |
Initializes a new instance of the EndianWriter class.
|
|
EndianWriter ( |
Creates an EndianWriter using the given target BinaryWriter.
|
|
EndianWriter ( Stream stream ) : System |
Initializes a new instance of the EndianWriter class with the underlying stream and default encoding (UTF8).
|
|
EndianWriter ( Stream stream, |
Initializes a new instance of the EndianWriter class with the underlying stream and encoding.
|
|
Flush ( ) : void |
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
|
|
Seek ( int offset, SeekOrigin origin ) : long |
Sets the position within the current stream.
|
|
Write ( bool value ) : void |
Writes a one-byte Boolean value to the current stream, with 0 representing false and 1 representing true.
|
|
Write ( byte value ) : void |
Writes one byte to the current stream.
|
|
Write ( byte buffer, int index, int count ) : void |
Writes a region of a byte array to the current stream.
|
|
Write ( char ch ) : void |
Writes a character to the stream using the provided encoding.
|
|
Write ( char chars, int index, int count ) : void |
Writes a region of a character array to the current stream.
|
|
Write ( double value ) : void |
Writes an eight byte double value to the stream in the target Endian format.
|
|
Write ( float value ) : void |
Writes a four byte float value to the stream in the target Endian format.
|
|
Write ( int value ) : void |
Writes a four byte signed integer value to the stream in the target Endian format.
|
|
Write ( long value ) : void |
Writes an eight byte signed integer value to the stream in the target Endian format.
|
|
Write ( sbyte value ) : void |
Writes a one byte signed byte value to the stream.
|
|
Write ( short value ) : void |
Writes a two byte signed integer value to the stream in the target Endian format.
|
|
Write ( string value ) : void |
Writes a string to the stream using the provided encoding and a variable integer length marker.
|
|
Write ( uint value ) : void |
Writes a four byte unsigned integer value to the stream in the target Endian format.
|
|
Write ( ulong value ) : void |
Writes an eight byte unsigned integer value to the stream in the target Endian format.
|
|
Write ( ushort value ) : void |
Writes a two byte unsigned integer value to the stream in the target Endian format.
|
public EndianWriter ( |
||
target | ||
return | System |
public EndianWriter ( Stream stream ) : System | ||
stream | Stream | |
return | System |
public EndianWriter ( Stream stream, |
||
stream | Stream | |
encoding | ||
return | System |
public Seek ( int offset, SeekOrigin origin ) : long | ||
offset | int | |
origin | SeekOrigin | |
return | long |
public Write ( byte buffer, int index, int count ) : void | ||
buffer | byte | |
index | int | |
count | int | |
return | void |
public Write ( char chars, int index, int count ) : void | ||
chars | char | |
index | int | |
count | int | |
return | void |