Util Class

Utility class to process lists and to work with files instead of byte arrays.

Definition

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

Constructors

UtilInitializes a new instance of the Util class

Methods

CopyAllT1, T2(Type, Byte, Type, UtilTransformerConvertT1, T2) Convert array of struct in bytes into array of struct in bytes.
CopyAllT1, T2(Type, Stream, Type, Stream, UtilTransformerConvertT1, T2) 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) Read array of struct in byte array into List of objects.
ReadAllT(Type, Stream, IListT) Read array of struct in stream into List of objects. Note: does not work with stucts containing VARSTR fields and STRUCT fields.
ReadAllT(Type, Stream, UtilObjectHandlerProcessT) Read array of struct in stream and processes them by handler. Note: does not work with stucts containing VARSTR fields and STRUCT fields.
ToStringReturns a string that represents the current object.
(Inherited from Object)
WriteAllT(Type, IListT) Write List of objects into array of struct in byte array. Note: does not work with stucts containing VARSTR fields and STRUCT fields.
WriteAllT(Type, IListT, Stream) Write List of objects into array of struct in stream. Note: does not work with stucts containing VARSTR fields and STRUCT fields.

See Also