PrivilegedFileHelper.mkdirs(tempDirectory);
// read id
int key;
if ((key = in.readInt()) != SerializationConstants.PERSISTED_VALUE_DATA)
throw new UnknownClassIdException("There is unexpected class [" + key + "]");
int orderNumber = in.readInt();
boolean isByteArray = in.readBoolean();