public SourceAttribute readAttribute(final Buffer buffer) { final int nameIndex = buffer.readUnsignedShort(); final int length = buffer.readInt(); final IMetadataScope scope = getScope(); final String name = scope.lookupConstant(nameIndex); return readAttributeCore(name, buffer, -1, length); }
public SourceAttribute readAttribute(final Buffer buffer) { final int nameIndex = buffer.readUnsignedShort(); final int length = buffer.readInt(); final IMetadataScope scope = getScope(); final String name = scope.lookupConstant(nameIndex); return readAttributeCore(name, buffer, -1, length); }
public SourceAttribute readAttribute(final Buffer buffer) { final int nameIndex = buffer.readUnsignedShort(); final int length = buffer.readInt(); final IMetadataScope scope = getScope(); final String name = scope.lookupConstant(nameIndex); return readAttributeCore(name, buffer, -1, length); }
protected final SourceAttribute inflateAttribute(final Buffer buffer, final SourceAttribute attribute) { if (attribute instanceof BlobAttribute) { buffer.reset(attribute.getLength()); final BlobAttribute blobAttribute = (BlobAttribute) attribute; System.arraycopy( blobAttribute.getData(), 0, buffer.array(), 0, attribute.getLength() ); return readAttributeCore( attribute.getName(), buffer, blobAttribute.getDataOffset(), attribute.getLength() ); } return attribute; }
protected final SourceAttribute inflateAttribute(final Buffer buffer, final SourceAttribute attribute) { if (attribute instanceof BlobAttribute) { buffer.reset(attribute.getLength()); final BlobAttribute blobAttribute = (BlobAttribute) attribute; System.arraycopy( blobAttribute.getData(), 0, buffer.array(), 0, attribute.getLength() ); return readAttributeCore( attribute.getName(), buffer, blobAttribute.getDataOffset(), attribute.getLength() ); } return attribute; }
protected final SourceAttribute inflateAttribute(final Buffer buffer, final SourceAttribute attribute) { if (attribute instanceof BlobAttribute) { buffer.reset(attribute.getLength()); final BlobAttribute blobAttribute = (BlobAttribute) attribute; System.arraycopy( blobAttribute.getData(), 0, buffer.array(), 0, attribute.getLength() ); return readAttributeCore( attribute.getName(), buffer, blobAttribute.getDataOffset(), attribute.getLength() ); } return attribute; }
readAttributeCore( attribute.getName(), buffer,
readAttributeCore( attribute.getName(), buffer,
readAttributeCore( attribute.getName(), buffer,
return super.readAttributeCore(name, buffer, originalOffset, length);
return super.readAttributeCore(name, buffer, originalOffset, length);
return super.readAttributeCore(name, buffer, originalOffset, length);