/// <summary>Reads a matrix 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 Matrix result) { result = packet.ReadMatrix(); return(packet); }