Example #1
0
 /// <summary>Read an array of <c>Vector2sb</c> values.</summary>
 public static Vector2sb[] ReadArrayVector2sb(this BinaryReader reader, int count)
 {
     Vector2sb[] array = new Vector2sb[count]; reader.ReadArray(array, 0, count); return array;
 }
Example #2
0
 /// <summary>Read a <see cref="Vector2sb"/>.</summary>
 public static void ReadVector2sb(this BinaryReader reader , out Vector2sb result)
 {
     result.X = reader.ReadSByte();
                                 result.Y = reader.ReadSByte();
             return;
 }