Go implementation of Manchester encoding