Beispiel #1
0
 /// <summary>Reads a rectangle value.</summary>
 /// <param name="packet">The packet.</param>
 /// <param name="result">The read value.</param>
 /// <returns>This packet, for call chaining.</returns>
 /// <exception cref="PacketException">The packet has not enough available data for the read operation.</exception>
 public static IReadablePacket Read(this IReadablePacket packet, out RectangleF result)
 {
     result = packet.ReadRectangleF();
     return(packet);
 }