Protocol.to_wire

Protocol.to_wire#

Protocol.to_wire()[source]#

Return the wire values of the protocol, the inverse of from_wire().

A time showing a preset is its preset code. A float is rounded to six significant digits, the precision of a float32 parameter, and a time to the nearest microsecond, ties to even.