micromed_io.tcp.encode_marker_packet#

micromed_io.tcp.encode_marker_packet(sample: uint32, marker: uint16) bytearray#

Encode a marker packet with sample and value

Parameters:
samplenp.uint32

The sample when marker occured

markernp.uint16

The marker value

Returns:
bytearray

The encoded packet