A full-featured ByteBuffer implementation in JavaScript.