Skip to main content
Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the wrapper stream.

Inheritance

object ← MarshalByRefObject ← Stream ← WrapperStream

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

WrapperStream(string, FileMode, string)

Initializes a new instance of the WrapperStream class.

Parameters

strFileName string Name of the string file. mode FileMode The mode. comment string The comment.

Properties

CanRead

Gets or sets the readable state.

Property Value

bool

CanSeek

Gets or sets the seekable state.

Property Value

bool

CanWrite

Gets or sets the writable state.

Property Value

bool

Comment

Gets the comment.

Property Value

string

Length

Gets the length.

Property Value

long

PointerSize

Gets the size of pointer.

Property Value

long

Position

Gets or sets the position.

Property Value

long

Methods

Close()

Close view.

Flush()

Flushes this instance.

Read(byte[], int, int)

Reads the specified buffer.

Parameters

buffer byte[] The buffer. offset int The offset. count int The count.

Returns

int

Seek(long, SeekOrigin)

Seeks the specified offset.

Parameters

offset long The offset. origin SeekOrigin The origin.

Returns

long

SetLength(long)

Sets the length.

Parameters

len long The length.

Write(byte[], int, int)

Writes the specified buffer.

Parameters

buffer byte[] The buffer. offset int The offset. count int The count.