public ByteBuffer content() {
        ByteBuffer bb = ByteBuffer.allocate((int)size());
        while (bb.remaining() > 0) {
            nextContent(bb);
        }
        return bb;
    }
Utility class for a file reference with data and metadata

@author hmusum
filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileReferenceData.java