AdsBinaryReader Methods

The AdsBinaryReader type exposes the following members.

Methods

 

Name

Description

AdsBinaryReader Methods 1:

Close

Closes the current reader and the underlying stream. (Inherited from BinaryReader.)

AdsBinaryReader Methods 2:

Dispose.

Releases all resources used by the current instance of the BinaryReader class. (Inherited from BinaryReader.)

AdsBinaryReader Methods 3:

Dispose(Boolean)

Releases the unmanaged resources used by the BinaryReader class and optionally releases the managed resources. (Inherited from BinaryReader.)

AdsBinaryReader Methods 4:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

AdsBinaryReader Methods 5:

FillBuffer

Fills the internal buffer with the specified number of bytes read from the stream. (Inherited from BinaryReader.)

AdsBinaryReader Methods 6:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

AdsBinaryReader Methods 7:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

AdsBinaryReader Methods 8:

GetType

Gets the Type of the current instance. (Inherited from Object.)

AdsBinaryReader Methods 9:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

AdsBinaryReader Methods 10:

PeekChar

Returns the next available character and does not advance the byte or character position. (Inherited from BinaryReader.)

AdsBinaryReader Methods 11:

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. (Inherited from BinaryReader.)

AdsBinaryReader Methods 12:

Read(.Char., Int32, Int32)

Reads the specified number of characters from the stream, starting from a specified point in the character array. (Inherited from BinaryReader.)

AdsBinaryReader Methods 13:

Read(.Byte., Int32, Int32)

Reads the specified number of bytes from the stream, starting from a specified point in the byte array. (Inherited from BinaryReader.)

AdsBinaryReader Methods 14:

Read7BitEncodedInt

Reads in a 32-bit integer in compressed format. (Inherited from BinaryReader.)

AdsBinaryReader Methods 15:

ReadBoolean

Reads a Boolean value from the current stream and advances the current position of the stream by one byte. (Inherited from BinaryReader.)

AdsBinaryReader Methods 16:

ReadByte

Reads the next byte from the current stream and advances the current position of the stream by one byte. (Inherited from BinaryReader.)

AdsBinaryReader Methods 17:

ReadBytes

Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 18:

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. (Inherited from BinaryReader.)

AdsBinaryReader Methods 19:

ReadChars

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. (Inherited from BinaryReader.)

AdsBinaryReader Methods 20:

ReadDecimal

Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 21:

ReadDouble

Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 22:

ReadGuid

Reads a Guid from the current stream.

AdsBinaryReader Methods 23:

ReadInt16

Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 24:

ReadInt32

Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 25:

ReadInt64

Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 26:

AdsBinaryReader Methods 27:

ReadPlcAnsiString

Reads a PLC string from the current stream (Encoding.Default, ANSI Encoding)

AdsBinaryReader Methods 28:

ReadPlcDATE

Reads a PLC Date type from the current stream.

AdsBinaryReader Methods 29:

ReadPlcTIME

Reads a PLC 'TIME' data type from the current stream.

AdsBinaryReader Methods 30:

AdsBinaryReader Methods 31:

ReadPlcUnicodeString

Reads a PLC string from the current stream (Encoding.Unicode, Unicode Encoding)

AdsBinaryReader Methods 32:

ReadSByte

Reads a signed byte from this stream and advances the current position of the stream by one byte. (Inherited from BinaryReader.)

AdsBinaryReader Methods 33:

ReadSingle

Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 34:

ReadString

Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time. (Inherited from BinaryReader.)

AdsBinaryReader Methods 35:

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. (Inherited from BinaryReader.)

AdsBinaryReader Methods 36:

ReadUInt32

Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 37:

ReadUInt64

Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes. (Inherited from BinaryReader.)

AdsBinaryReader Methods 38:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Reference

AdsBinaryReader Class

TwinCAT.Ads Namespace