public class NetworkBinaryStream : RemoteBinaryStreamPublic Class NetworkBinaryStream
Inherits RemoteBinaryStreampublic ref class NetworkBinaryStream : public RemoteBinaryStreamSnapDB.Net.NetworkBinaryStream = function();
Type.createClass(
'SnapDB.Net.NetworkBinaryStream',
SnapDB.IO.RemoteBinaryStream);| NetworkBinaryStream | Initializes a new instance of the NetworkBinaryStream class. |
| AvailableReadBytes | Gets the number of available bytes to read from the stream. |
| CanRead |
Gets a value indicating whether the stream supports reading.
(Inherited from RemoteBinaryStream) |
| CanSeek |
Gets a value indicating whether the stream supports seeking (positioning).
(Inherited from RemoteBinaryStream) |
| CanWrite |
Gets a value indicating whether the stream allows writing.
(Inherited from RemoteBinaryStream) |
| Connected | Gets a value indicating whether or not the socket is connected. |
| Length |
Throws a NotSupportedException since getting the length of this stream is not supported.
(Inherited from RemoteBinaryStream) |
| Position |
Throws a NotSupportedException since setting or getting the position of this stream is not supported.
(Inherited from RemoteBinaryStream) |
| ReceiveBufferAvailable |
Gets the number of bytes available in the receive buffer for reading.
(Inherited from RemoteBinaryStream) |
| Socket | Gets the underlying socket used for communication. |
| Timeout | Gets or sets the socket timeout in milliseconds. |
| WorkerThreadSynchronization |
Gets the WorkerThreadSynchronization instance used for synchronization in this stream.
(Inherited from RemoteBinaryStream) |
| Copy |
Copies a block of data from the current stream to another position within the same stream.
(Inherited from BinaryStreamBase) |
| Disconnect | Disconnects the socket. |
| Dispose |
Releases all the resources used by the BinaryStreamBase object.
(Inherited from BinaryStreamBase) |
| Dispose(Boolean) |
Disposes of the NetworkBinaryStream instance, disconnecting the socket if necessary.
(Overrides RemoteBinaryStreamDispose(Boolean)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| Flush |
Flushes any buffered data in the send buffer to the underlying stream.
(Inherited from RemoteBinaryStream) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| InsertBytes |
Inserts a certain number of bytes into the stream, shifting valid data to the right. The stream's position remains unchanged.
(i.e., pointing to the beginning of the newly inserted bytes).
(Inherited from BinaryStreamBase) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Read |
Reads a specified number of bytes from the stream into a byte array, starting at the specified offset.
(Inherited from RemoteBinaryStream) |
| Read7BitUInt32 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| Read7BitUInt64 |
Reads a 7-bit encoded unsigned 64-bit integer (UInt64) from the stream.
(Inherited from RemoteBinaryStream) |
| ReadAll(Byte*, Int32) |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadAll(Byte, Int32, Int32) |
Reads all of the provided bytes. Will not return prematurely,
but continue to execute a Read(Byte, Int32, Int32) command until the entire
length has been read.
(Inherited from BinaryStreamBase) |
| ReadBoolean |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadBytes |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadBytes(Int32) |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadDateTime |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadDecimal |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadDouble |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadGuid |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadInt16 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadInt32 |
Reads a 4-byte (32-bit) signed integer from the stream.
(Inherited from RemoteBinaryStream) |
| ReadInt64 |
Reads an 8-byte (64-bit) signed integer from the stream.
(Inherited from RemoteBinaryStream) |
| ReadInt8 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadSingle |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadString |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt16 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt24 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt32 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt40 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt48 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt56 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt64 |
Reads from the underlying stream in little-endian format. Advancing the position.
(Inherited from BinaryStreamBase) |
| ReadUInt8 |
Reads a single unsigned byte (UInt8) from the stream.
(Inherited from RemoteBinaryStream) |
| RemoveBytes |
Removes a certain number of bytes from the stream, shifting valid data after this location to the left. The stream's position remains unchanged.
(i.e., pointing to where the data used to exist).
(Inherited from BinaryStreamBase) |
| Seek |
When overridden in a derived class, sets the position within the current stream.
(Inherited from BinaryStreamBase) |
| SetLength |
Throws a NotSupportedException since setting the length of this stream is not supported.
(Inherited from RemoteBinaryStream) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryReadBytes |
Attempts to read a byte array from the stream with a specified maximum length.
(Inherited from BinaryStreamBase) |
| TryReadString |
Attempts to read a byte array from the stream with a specified maximum length.
(Inherited from BinaryStreamBase) |
| UpdateLocalBuffer |
Updates the local buffer data.
(Inherited from BinaryStreamBase) |
| Write(Boolean) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Byte) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Byte) |
Writes a single byte to the stream.
(Inherited from RemoteBinaryStream) |
| Write(DateTime) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Decimal) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Double) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Guid) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Int16) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Int32) |
Writes a 4-byte (32-bit) signed integer to the stream.
(Inherited from RemoteBinaryStream) |
| Write(Int64) |
Writes an 8-byte (64-bit) signed integer to the stream.
(Inherited from RemoteBinaryStream) |
| Write(SByte) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Single) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(String) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(UInt16) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(UInt32) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(UInt64) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Byte*, Int32) |
Writes the specified buffer to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write(Byte, Int32, Int32) |
Writes a specified number of bytes from a byte array to the stream.
(Inherited from RemoteBinaryStream) |
| Write7Bit(UInt32) |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Write7Bit(UInt64) |
Writes a 7-bit encoded unsigned 64-bit integer (UInt64) to the stream.
(Inherited from RemoteBinaryStream) |
| WriteUInt |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| WriteUInt24 |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| WriteUInt40 |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| WriteUInt48 |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| WriteUInt56 |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| WriteWithLength |
Writes the specified value to the underlying stream in little-endian format.
(Inherited from BinaryStreamBase) |
| Stream |
A Stream implementation of this BinaryStreamBase (Inherited from BinaryStreamBase) |