[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Reads primitive data types as binary values in a specific encoding. [Property] Constructor=Sets the Constructor of the BinaryReader class. ARG(enum)|14|0|None,Constructor,Constructor2 Encoding=Sets the character encoding to use. ARG(Encoding)|20|(empty)|Encoding [Methods] *doClose=Closes the current reader and the underlying stream. ARG()|1|0 doConstructor=Initializes a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding. ARG(Stream stream)|1|0 *doConstructor2=Initializes a new instance of the BinaryReader 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 BinaryReader class. ARG()|1|0 *doRead2=Reads the specified number of bytes from the stream, starting from a specified point in the byte array. ARG(byte[] buffer, int index, int count)|1|0 *doRead3=Reads the specified number of characters from the stream, starting from a specified point in the character array. ARG(char[] buffer, int index, int count)|1|0 *doReadBytes=Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes. ARG(int count)|1|0 *doReadChars=Reads the specified number of characters from the current stream, returns the data in a character array, and advances the current position in accordance with the Encoding used and the specific character being read from the stream. ARG(int count)|1|0 onError=If an error occurs, an error message appears. ARG(string)|2|2 *onRead=Occurs after invoke the method doRead and returns the number of bytes or characters read into buffer. ARG(int)|2|1 *onReadBytes=Occurs after invoke the method doReadBytes and returns the byte array containing data read from the underlying stream. ARG(byte[])|2|13 *onReadChars=Occurs after invoke the method doReadChars and returns the character array containing data read from the underlying stream. ARG(char[])|2|13 *BaseStream=Exposes access to the underlying stream of the BinaryReader. ARG(Stream)|3|10 *PeekChar=Returns the next available character and does not advance the byte or character position. ARG(int)|3|1 *Read=Reads characters from the underlying stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream. ARG(int)|3|1 *ReadBoolean=Reads a Boolean value from the current stream and advances the current position of the stream by one byte. ARG(bool)|3|104 *ReadByte=Reads the next byte from the current stream and advances the current position of the stream by one byte. ARG(byte)|3|1 *ReadChar=Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream. ARG(char)|3|106 *ReadDecimal=Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes. ARG(decimal)|3|108 *ReadDouble=Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes. ARG(double)|3|7 *ReadInt16=Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes. ARG(short)|3|1 *ReadInt32=Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes. ARG(int)|3|1 *ReadInt64=Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes. ARG(long)|3|105 *ReadSByte=Reads a signed byte from this stream and advances the current position of the stream by one byte. ARG(sbyte)|3|1 *ReadSingle=Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes. ARG(float)|3|107 *ReadString=Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time. ARG(string)|3|2 *ReadUInt16=Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes. ARG(ushort)|3|1 *ReadUInt32=Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes. ARG(uint)|3|1 *ReadUInt64=Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes. ARG(ulong)|3|105 BinaryReader=Returns the BinaryReader object. ARG(BinaryReader)|3|0 *buffer=Defines the buffer to read data into. ARG(byte[])|4|13 *index=Defines the starting point in the buffer at which to begin reading into the buffer. ARG(int)|4|1 *count=Defines the number of bytes to read. ARG(int)|4|1 *encoding=Defines the character encoding. ARG(Encoding)|4|0 Stream=Defines the input stream. ARG(Stream)|4|10