Record Class BlockfileSegment

java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.io.storage.BlockfileSegment

public record BlockfileSegment(String name, long from, byte[] bytes) extends Record
Holds bytes for some arbitrary position in the file. You can extract the specific bytes you want, getting an exception if they were not fully contained in the segment.