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