public class RemoteBinaryStream : BinaryStreamBasePublic Class RemoteBinaryStream
Inherits BinaryStreamBasepublic ref class RemoteBinaryStream : public BinaryStreamBaseSnapDB.IO.RemoteBinaryStream = function();
Type.createClass(
'SnapDB.IO.RemoteBinaryStream',
SnapDB.IO.BinaryStreamBase);| RemoteBinaryStream | Initializes a new instance of the RemoteBinaryStream class with the specified stream for communication. |
| CanRead |
Gets a value indicating whether the stream supports reading.
(Overrides BinaryStreamBaseCanRead) |
| CanSeek |
Gets a value indicating whether the stream supports seeking (positioning).
(Overrides BinaryStreamBaseCanSeek) |
| CanWrite |
Gets a value indicating whether the stream allows writing.
(Overrides BinaryStreamBaseCanWrite) |
| Length |
Throws a NotSupportedException since getting the length of this stream is not supported.
(Overrides BinaryStreamBaseLength) |
| Position |
Throws a NotSupportedException since setting or getting the position of this stream is not supported.
(Overrides BinaryStreamBasePosition) |
| ReceiveBufferAvailable | Gets the number of bytes available in the receive buffer for reading. |
| WorkerThreadSynchronization | Gets the WorkerThreadSynchronization instance used for synchronization in this stream. |
| Copy |
Copies a block of data from the current stream to another position within the same stream.
(Inherited from BinaryStreamBase) |
| Dispose |
Releases all the resources used by the BinaryStreamBase object.
(Inherited from BinaryStreamBase) |
| Dispose(Boolean) |
Disposes of the RemoteBinaryStream, releasing any resources associated with it.
(Overrides BinaryStreamBaseDispose(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.
(Overrides BinaryStreamBaseFlush) |
| 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.
(Overrides BinaryStreamBaseRead(Byte, Int32, Int32)) |
| 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.
(Overrides BinaryStreamBaseRead7BitUInt64) |
| 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.
(Overrides BinaryStreamBaseReadInt32) |
| ReadInt64 |
Reads an 8-byte (64-bit) signed integer from the stream.
(Overrides BinaryStreamBaseReadInt64) |
| 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.
(Overrides BinaryStreamBaseReadUInt8) |
| 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.
(Overrides BinaryStreamBaseSetLength(Int64)) |
| 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.
(Overrides BinaryStreamBaseWrite(Byte)) |
| 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.
(Overrides BinaryStreamBaseWrite(Int32)) |
| Write(Int64) |
Writes an 8-byte (64-bit) signed integer to the stream.
(Overrides BinaryStreamBaseWrite(Int64)) |
| 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.
(Overrides BinaryStreamBaseWrite(Byte, Int32, Int32)) |
| 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.
(Overrides BinaryStreamBaseWrite7Bit(UInt64)) |
| 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) |