public Packet read(RecordLocation location) throws InvalidRecordLocationException, IOException, IllegalStateException {
ByteSequence rc = dataManager.read(convertFromRecordLocation(location));
if (rc == null) {
return null;
}
return new ByteArrayPacket(rc.getData(), rc.getOffset(), rc.getLength());
}