ByteBuffer-like test case, see dcodeIO/ProtoBuf.js#96