final ORID rootRid = new ORecordId();
try {
final OMemoryInputStream stream = new OMemoryInputStream(iStream);
byte protocolVersion = stream.peek();
if (protocolVersion != -1) {
// @COMPATIBILITY BEFORE 0.9.25
stream.getAsByte();
if (protocolVersion != CURRENT_PROTOCOL_VERSION)
throw new OSerializationException(