Home | History | Annotate | Download | only in classfile

Lines Matching defs:bytes

43     private byte[] bytes;
71 * @param length Content length in bytes
72 * @param bytes Attribute contents
75 public Unknown(final int name_index, final int length, final byte[] bytes, final ConstantPool constant_pool) {
77 this.bytes = bytes;
88 * @param length Content length in bytes
97 bytes = new byte[length];
98 input.readFully(bytes);
117 * Dump unknown bytes to file stream.
126 file.write(bytes, 0, super.getLength());
132 * @return data bytes.
135 return bytes;
149 * @param bytes the bytes to set
151 public final void setBytes( final byte[] bytes ) {
152 this.bytes = bytes;
161 if (super.getLength() == 0 || bytes == null) {
167 System.arraycopy(bytes, 0, tmp, 0, 10);
170 hex = Utility.toHexString(bytes);
182 if (bytes != null) {
183 c.bytes = new byte[bytes.length];
184 System.arraycopy(bytes, 0, c.bytes, 0, bytes.length);