Exemple #1
0
 public static T[] ReadTArray <T>(this BinaryReader source, int length, int count) => UnsafeUtils.MarshalTArray <T>(source.ReadBytes(length), count);
Exemple #2
0
 public static T ReadT <T>(this BinaryReader source, int length) => UnsafeUtils.MarshalT <T>(source.ReadBytes(length), length);