int type() const { return (int)(ubyte_field(type_offset())); }
// Accessing data in buffer jubyte read_u1(int& index) { jint offset = offset_from_byte_index(index); index += sizeof(jubyte); return (jubyte) ubyte_field(offset); }
jubyte ubyte_at(int index) const { return ubyte_field(offset_from_ubyte_index(index)); }