StructWriter Class

Class StructWriter writes a .NET object to a byte array as a native struct.

Definition

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

Constructors

StructWriter Construct instance of StructWriter with default buffer size.
StructWriter(Int32) Construct instance of StructWriter.

Properties

Length The length.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Extend Extend capacity.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetBytes Get bytes.
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)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Write(Object) Write.
Write(Object, LengthProvider) Write.
Write(Object, LengthProvider, MaxLengthProvider) Write.
Write(Object, LengthProvider, MaxLengthProvider, ElementsProvider) Write.
Write(Object, LengthProvider, MaxLengthProvider, ElementsProvider, ConvertSelector) Write.

See Also