[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Writes primitive types in binary to a stream and supports writing strings in a specific encoding. [Property] Constructor=Sets the Constructor of the BinaryWriter class. ARG(enum)|14|0|None,Constructor,Constructor2 Encoding=Sets the character encoding to use. ARG(Encoding)|20|(empty)|Encoding Origin=Sets the beginning, the end, or the current position as a reference point for seeking. ARG(SeekOrigin)|14|0|Begin,Current,End [Methods] *doClose=Closes the current BinaryWriter and the underlying stream. ARG()|1|0 doConstructor=Initializes a new instance of the BinaryWriter class based on the supplied stream and using UTF-8 as the encoding for strings. ARG(Stream stream)|1|0 *doConstructor2=Initializes a new instance of the BinaryWriter class based on the supplied stream and a specific character encoding. ARG(Stream stream, Encoding encoding)|1|0 *doDispose=Releases all resources used by the current instance of the BinaryWriter class. ARG()|1|0 *doFlush=Clears all buffers for the current writer and causes any buffered data to be written to the underlying device. ARG()|1|0 *doSeek=Sets the position within the current stream. ARG(int offset, SeekOrigin origin)|1|0 *doWriteBoolean=Writes a one-byte Boolean value to the current stream, with 0 representing false and 1 representing true. ARG(bool value)|1|0 *doWriteByte=Writes an unsigned byte to the current stream and advances the stream position by one byte. ARG(byte value)|1|0 *doWriteBytes=Writes a byte array to the underlying stream. ARG(byte[] value)|1|0 *doWriteChar=Writes a Unicode character to the current stream and advances the current position of the stream in accordance with the Encoding used and the specific characters being written to the stream. ARG(char value)|1|0 *doWriteChars=Writes a character array to the current stream and advances the current position of the stream in accordance with the Encoding used and the specific characters being written to the stream. ARG(char[] value)|1|0 *doWriteDecimal=Writes a decimal value to the current stream and advances the stream position by sixteen bytes. ARG(decimal value)|1|0 *doWriteDouble=Writes an eight-byte floating-point value to the current stream and advances the stream position by eight bytes. ARG(double value)|1|0 *doWriteInt16=Writes a two-byte signed integer to the current stream and advances the stream position by two bytes. ARG(short value)|1|0 *doWriteInt32=Writes a four-byte signed integer to the current stream and advances the stream position by four bytes. ARG(int value)|1|0 *doWriteInt64=Writes an eight-byte signed integer to the current stream and advances the stream position by eight bytes. ARG(long value)|1|0 *doWriteSByte=Writes a signed byte to the current stream and advances the stream position by one byte. ARG(sbyte value)|1|0 *doWriteSingle=Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes. ARG(float value)|1|0 *doWriteString=Writes a length-prefixed string to this stream in the current encoding of the BinaryWriter, and advances the current position of the stream in accordance with the encoding used and the specific characters being written to the stream. ARG(string value)|1|0 *doWriteUInt16=Writes a two-byte unsigned integer to the current stream and advances the stream position by two bytes. ARG(ushort value)|1|0 *doWriteUInt32=Writes a four-byte unsigned integer to the current stream and advances the stream position by four bytes. ARG(uint value)|1|0 *doWriteUInt64=Writes an eight-byte unsigned integer to the current stream and advances the stream position by eight bytes. ARG(ulong value)|1|0 *doWriteBytesRange=Writes a region of a byte array to the current stream. ARG(byte[] value, int index, int count)|1|0 *doWriteCharsRange=Writes a section of a character array to the current stream, and advances the current position of the stream in accordance with the Encoding used and perhaps the specific characters being written to the stream. ARG(char[] value, int index, int count)|1|0 onError=If an error occurs, an error message appears. ARG(string)|2|2 *onSeek=Occurs after invoke the method doSeek and returns the position with the current stream. ARG(long)|2|105 *BaseStream=Returns the underlying stream of the BinaryWriter. ARG(Stream)|3|10 *Null=Specifies a BinaryWriter with no backing store. ARG(BinaryWriter)|3|0 BinaryWriter=Returns the BinaryWriter object. ARG(BinaryWriter)|3|0 *index=Defines the starting point in buffer at which to begin writing. ARG(int)|4|1 *count=Defines the number of bytes to write. ARG(int)|4|1 *encoding=Defines the character encoding. ARG(Encoding)|4|0 *offset=Defines a byte offset relative to origin. ARG(int)|4|1 *origin=Defines a field of SeekOrigin indicating the reference point from which the new position is to be obtained. ARG(SeekOrigin)|4|0 Stream=Defines the output stream. ARG(Stream)|4|10 Value=Defines the value to write. ARG(T)|4|0