BinarySerializerDeserializeValueArrayT Method
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static T[] DeserializeValueArray<T>(
byte[] data,
int offset,
int count
)
where T : struct, new()
Public Shared Function DeserializeValueArray(Of T As {Structure, New}) (
data As Byte(),
offset As Integer,
count As Integer
) As T()
public:
generic<typename T>
where T : value class, gcnew()
static array<T>^ DeserializeValueArray(
array<unsigned char>^ data,
int offset,
int count
)
static member DeserializeValueArray :
data : byte[] *
offset : int *
count : int -> 'T[] when 'T : struct, new()
- data Byte
- The byte array that contains the byte representation of the structures.
- offset Int32
- The offset that points to the beginning of the serialized data.
- count Int32
- Number of elements to deserialize from the data.
- T
- Type of the elements in the deserialized array. Must be a ValueType.
TThe deserialized
ValueType object.