Decode takes and mutates a byte array
String encoding and decoding