Class WrapperStream
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the wrapper stream.
public class WrapperStream : Stream
Inheritance
object ← MarshalByRefObject ← Stream ← WrapperStream
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
WrapperStream(string, FileMode, string)
Initializes a new instance of the
public WrapperStream(string strFileName, FileMode mode, string comment)
Parameters
strFileName string
Name of the string file.
mode FileMode
The mode.
comment string
The comment.
Properties
CanRead
Gets or sets the readable state.
public override bool CanRead { get; }
Property Value
CanSeek
Gets or sets the seekable state.
public override bool CanSeek { get; }
Property Value
CanWrite
Gets or sets the writable state.
public override bool CanWrite { get; }
Property Value
Comment
Gets the comment.
public string Comment { get; }
Property Value
Length
Gets the length.
public override long Length { get; }
Property Value
PointerSize
Gets the size of pointer.
public long PointerSize { get; }
Property Value
Position
Gets or sets the position.
public override long Position { get; set; }
Property Value
Methods
Close()
Close view.
public override void Close()
Flush()
Flushes this instance.
public override void Flush()
Read(byte[], int, int)
Reads the specified buffer.
public override int Read(byte[] buffer, int offset, int count)
Parameters
buffer byte[]
The buffer.
offset int
The offset.
count int
The count.
Returns
Seek(long, SeekOrigin)
Seeks the specified offset.
public override long Seek(long offset, SeekOrigin origin)
Parameters
offset long
The offset.
origin SeekOrigin
The origin.
Returns
SetLength(long)
Sets the length.
public override void SetLength(long len)
Parameters
len long
The length.
Write(byte[], int, int)
Writes the specified buffer.
public override void Write(byte[] buffer, int offset, int count)
Parameters
buffer byte[]
The buffer.
offset int
The offset.
count int
The count.