Fix NRZI encoding.
Missed a couple things while porting Java code.
One more porting mistake. Decoder now returns data.
Convert decoded uint8 buffer to a string.