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