Lines Matching refs:bytes
56 /** {@code non-null;} the bytes of the constant pool */
57 private final ByteArray bytes;
78 * @param bytes {@code non-null;} the bytes of the file
80 public ConstantPoolParser(ByteArray bytes) {
81 int size = bytes.getUnsignedShort(8); // constant_pool_count
83 this.bytes = bytes;
135 observer.parsed(bytes, 8, 2,
137 observer.parsed(bytes, 10, 0, "\nconstant_pool:");
172 observer.parsed(bytes, offset, nextOffset - offset, human);
176 observer.parsed(bytes, endOffset, 0, "end constant_pool");
189 int tag = bytes.getUnsignedByte(at);
216 at += bytes.getUnsignedShort(at + 1) + 3;
259 int tag = bytes.getUnsignedByte(at);
267 int value = bytes.getInt(at + 1);
272 int bits = bytes.getInt(at + 1);
277 long value = bytes.getLong(at + 1);
282 long bits = bytes.getLong(at + 1);
287 int nameIndex = bytes.getUnsignedShort(at + 1);
293 int stringIndex = bytes.getUnsignedShort(at + 1);
298 int classIndex = bytes.getUnsignedShort(at + 1);
300 int natIndex = bytes.getUnsignedShort(at + 3);
306 int classIndex = bytes.getUnsignedShort(at + 1);
308 int natIndex = bytes.getUnsignedShort(at + 3);
314 int classIndex = bytes.getUnsignedShort(at + 1);
316 int natIndex = bytes.getUnsignedShort(at + 3);
322 int nameIndex = bytes.getUnsignedShort(at + 1);
324 int descriptorIndex = bytes.getUnsignedShort(at + 3);
364 int length = bytes.getUnsignedShort(at + 1);
368 ByteArray ubytes = bytes.slice(at, at + length);