StructReaderStream Class

Class StructReaderStream reads a .NET object from an input stream containing a native struct.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public class StructReaderStream
Inheritance
Object    StructReaderStream

Constructors

StructReaderStream(Stream, Int32) Create instance of StructReaderStream withh 1000 structs in buffer.
StructReaderStream(Stream, Int32, Int32) Create instance of StructReaderStream.
StructReaderStream(Stream, Int32, Int64) Create instance of StructReaderStream withh 1000 structs in buffer.
StructReaderStream(Stream, Int32, Int32, Int64) Create instance of StructReaderStream.

Properties

BytesRead Get number of bytes read.

Return Value

number bytes read
More More records available (true=more, false=no more).

Methods

Close Close underlying InputStream.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ReadT(Type) Read.
ReadT(Type, LengthProvider, MaxLengthProvider, ElementsProvider) Read.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also