public OSerializableStream fromStream(final byte[] iStream) throws OSerializationException {
final OMemoryInputStream buffer = new OMemoryInputStream(iStream);
try {
text = buffer.getAsString();
limit = buffer.getAsInteger();
beginRange = new ORecordId().fromStream(buffer.getAsByteArrayFixed(ORecordId.PERSISTENT_SIZE));
endRange = new ORecordId().fromStream(buffer.getAsByteArrayFixed(ORecordId.PERSISTENT_SIZE));
setFetchPlan(buffer.getAsString());
byte[] paramBuffer = buffer.getAsByteArray();
if (paramBuffer.length == 0)