Util2 Class

Utility class to process lists and to work with files instead of byte arrays trying to work even with variable length structs.

Definition

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

Constructors

Util2Initializes a new instance of the Util2 class

Methods

CopyAllT1, T2(Type, Byte, Type, Util2TransformerConvertT1, T2, LengthProvider, MaxLengthProvider, ElementsProvider) Convert array of struct in bytes into array of struct in bytes.
CopyAllT1, T2(Type, Stream, Type, Stream, Util2TransformerConvertT1, T2, LengthProvider, MaxLengthProvider, ElementsProvider) Convert array of struct in stream into array of struct in stream.
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)
ReadAllT(Type, Byte, LengthProvider, MaxLengthProvider, ElementsProvider) Read array of struct in byte array into List of objects.
ReadAllT(Type, Stream, IListT, LengthProvider, MaxLengthProvider, ElementsProvider) Read array of struct in stream into List of objects.
ReadAllT(Type, Stream, Util2ObjectHandlerProcessT, LengthProvider, MaxLengthProvider, ElementsProvider) Read array of struct in stream and processes them by handler.
ToStringReturns a string that represents the current object.
(Inherited from Object)
WriteAllT(Type, IListT, LengthProvider, MaxLengthProvider, ElementsProvider) Write List of objects into array of struct in byte array.
WriteAllT(Type, IListT, Stream, LengthProvider, MaxLengthProvider, ElementsProvider) Write List of objects into array of struct in stream.

See Also