/// <summary>Reads a vector 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 Color result) { result = packet.ReadColor(); return(packet); }