go-hdlc Package hdlc implements HDLC-like framing of packets on bytestreams. The C directory contains 2 C functions to do the same. I use this to have my go programs on a macbook exchange binary packets with an arduino over a serial port.