work here, we're converted over from naive arrays to Uint8Arrays in the Buffer class. This is probably good for performance. Good enough for now...