public class BinaryStreamPointerWrapper : BinaryStreamPointerBasePublic Class BinaryStreamPointerWrapper
Inherits BinaryStreamPointerBasepublic ref class BinaryStreamPointerWrapper : public BinaryStreamPointerBaseSnapDB.IO.Unmanaged.BinaryStreamPointerWrapper = function();
Type.createClass(
'SnapDB.IO.Unmanaged.BinaryStreamPointerWrapper',
SnapDB.IO.BinaryStreamPointerBase);| BinaryStreamPointerWrapper | Creates a BinaryStreamPointerWrapper. |
| CanRead |
Indicates whether or not the stream allows reading.
(Inherited from BinaryStreamPointerBase) |
| CanSeek |
Indicates whether or not the stream allows seeking.
(Inherited from BinaryStreamPointerBase) |
| CanWrite |
Indicates whether or not the stream allows writing.
(Inherited from BinaryStreamPointerBase) |
| Length |
Throws a NotSupportedException since getting the length of this stream is not supported.
(Inherited from BinaryStreamPointerBase) |
| PointerVersion |
Gets the pointer version number, assuming that this binary stream has an unmanaged buffer backing this stream.
If the pointer version is the same, then any pointer acquired is still valid.
(Inherited from BinaryStreamPointerBase) |
| Position |
Gets or sets the current position for the stream.
(Inherited from BinaryStreamPointerBase) |
| RemainingReadLength |
Returns the number of bytes available at the end of the stream.
(Inherited from BinaryStreamPointerBase) |
| RemainingWriteLength |
Returns the number of bytes available at the end of the stream for writing purposes.
(Inherited from BinaryStreamPointerBase) |
| Copy |
Copies a block of data from one position in the stream to another position within the same stream.
(Inherited from BinaryStreamPointerBase) |
| Dispose |
Releases all the resources used by the BinaryStreamBase object.
(Inherited from BinaryStreamBase) |
| Dispose(Boolean) |
Releases the unmanaged resources used by the BinaryStreamBase object and optionally releases the managed resources.
(Inherited from BinaryStreamBase) |
| 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 or state within the stream.
This method intentionally does nothing, as there is no buffering to flush.
(Inherited from BinaryStreamPointerBase) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetReadPointer(Int64, Int32) |
Gets a read pointer to a specified position in the stream for a specified length of data.
(Inherited from BinaryStreamPointerBase) |
| GetReadPointer(Int64, Int32, Boolean) |
Gets a read pointer to a specified position in the stream for a specified length of data
and determines if the stream supports writing at that position.
(Inherited from BinaryStreamPointerBase) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| GetWritePointer |
Gets a pointer to the specified write position in the binary stream that can be used for writing up the provided length and reserving space for writing the data.
Current position does not get advanced after calling this function.
(Inherited from BinaryStreamPointerBase) |
| 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 BinaryStream and advances the position by that amount.
(Inherited from BinaryStreamPointerBase) |
| Read7BitUInt32 |
Reads a 7-bit encoded unsigned 32-bit integer (UInt32) from the stream.
(Inherited from BinaryStreamPointerBase) |
| Read7BitUInt64 |
Reads a 7-bit encoded unsigned 64-bit integer (UInt64) from the stream.
(Inherited from BinaryStreamPointerBase) |
| 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 a single unsigned byte (UInt16) from the stream.
(Inherited from BinaryStreamPointerBase) |
| ReadInt32 |
Reads a single unsigned byte (UInt32) from the stream.
(Inherited from BinaryStreamPointerBase) |
| ReadInt64 |
Reads a single unsigned byte (UInt64) from the stream.
(Inherited from BinaryStreamPointerBase) |
| 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 BinaryStreamPointerBase) |
| 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 |
Sets the length of the BinaryStream, which is not supported and will throw a NotSupportedException.
(Inherited from BinaryStreamPointerBase) |
| 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.
(Overrides BinaryStreamBaseUpdateLocalBuffer(Boolean)) |
| 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 BinaryStreamPointerBase) |
| 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 a single short to the stream.
(Inherited from BinaryStreamPointerBase) |
| Write(Int32) |
Writes a single int to the stream.
(Inherited from BinaryStreamPointerBase) |
| Write(Int64) |
Writes a single long to the stream.
(Inherited from BinaryStreamPointerBase) |
| 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 a block of data from a pointer to the stream.
(Inherited from BinaryStreamPointerBase) |
| Write(Byte, Int32, Int32) |
Writes a block of data from a byte array to the stream, starting from a specified offset and for a specified count of bytes.
(Inherited from BinaryStreamPointerBase) |
| Write7Bit(UInt32) |
Writes a single uint to the stream.
(Inherited from BinaryStreamPointerBase) |
| Write7Bit(UInt64) |
Writes a single ulong to the stream.
(Inherited from BinaryStreamPointerBase) |
| 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) |
| Current |
The current position data.
(Inherited from BinaryStreamPointerBase) |
| First |
The first position of the block.
(Inherited from BinaryStreamPointerBase) |
| FirstPosition |
The position that corresponds to the first byte in the buffer.
(Inherited from BinaryStreamPointerBase) |
| LastPosition |
Contains the position for the last position.
(Inherited from BinaryStreamPointerBase) |
| LastRead |
One past the last address for reading.
(Inherited from BinaryStreamPointerBase) |
| LastWrite |
One past the last address for writing.
(Inherited from BinaryStreamPointerBase) |
| Stream |
A Stream implementation of this BinaryStreamBase (Inherited from BinaryStreamBase) |