byte[] (final int dedicatedAttributeRecordId, final int fileId, final int attributeId, final ByteBuffer dedicatedRecordBuffer) { final int backRefFileId = -dedicatedRecordBuffer.getInt(AttributesRecord.RECORD_FILE_ID_OFFSET); final int backRefAttributeId = dedicatedRecordBuffer.getInt(AttributesRecord.DEDICATED_RECORD_ATTRIBUTE_ID_OFFSET); assert backRefFileId == fileId : "record(" + dedicatedAttributeRecordId + ").fileId(" + fileId + ") " + "!= backref fileId(" + backRefFileId + ")"; assert backRefAttributeId == attributeId : "record(" + attributeId + ").attributeId(" + attributeId + ") " + "!= backref attributeId(" + backRefAttributeId + ")"; final int valueLength = dedicatedRecordBuffer.remaining() - AttributesRecord.DEDICATED_RECORD_HEADER_SIZE; final byte[] entryValue = new byte[valueLength]; dedicatedRecordBuffer.get(AttributesRecord.DEDICATED_RECORD_HEADER_SIZE, entryValue); return entryValue; }