code: public static final CmsExtractionResult fromBytes(byte[] bytes) {
  
          Object obj = null;
          if (bytes != null) {
              // create an object out of the byte array
              try {
                  ByteArrayInputStream in = new ByteArrayInputStream(bytes);
                  ObjectInputStream oin = new ObjectInputStream(in);
                  obj = oin.readObject();
                  oin.close();
              } catch (Exception e) {
                  // ignore, null is not an instance of CmsExtractionResult
              }
              if (obj instanceof CmsExtractionResult) {
                  CmsExtractionResult result = (CmsExtractionResult)obj;
                  result.m_serializedVersion = bytes;
                  return result;
              }
          }
          return null;
      }
docs: Creates an extraction result from a serialized byte array.<p>
  
  @param bytes the serialized version of the extraction result
  
  @return extraction result created from the serialized byte array