/// <summary>Read an array of <c>Vector2nus</c> values.</summary> public static Vector2nus[] ReadArrayVector2nus(this BinaryReader reader, int count) { Vector2nus[] array = new Vector2nus[count]; reader.ReadArray(array, 0, count); return array; }
/// <summary>Read a <see cref="Vector2nus"/>.</summary> public static void ReadVector2nus(this BinaryReader reader , out Vector2nus result) { result.X = reader.ReadNormalizedUInt16(); result.Y = reader.ReadNormalizedUInt16(); return; }