internal static void SubArrayDeSerialize <valueType>(BinaryDeSerializer deSerializer, ref SubArray <valueType> value) { valueType[] array = null; deSerializer.isReferenceArray = false; TypeDeSerializer <valueType[]> .DefaultDeSerializer(deSerializer, ref array); value.Set(array, 0, array.Length); }
protected override void deSerializeParameter(AutoCSer.BinaryDeSerializer deSerializer) { base.deSerializeParameterStruct(deSerializer, ref value); }
internal static void EnumULongArray <T>(BinaryDeSerializer deSerializer, ref T[] array) { deSerializer.enumULongArray(ref array); }
internal static void EnumULongMember <T>(BinaryDeSerializer deSerializer, ref T value) { value = AutoCSer.Metadata.EnumCast <T, ulong> .FromInt(*(ulong *)deSerializer.Read); deSerializer.Read += sizeof(ulong); }