code: public ISharedObjectMessage decodeSharedObject(IoBuffer in) {
          final Input input = new org.red5.io.amf.Input(in);
          String name = input.getString();
          // Read version of SO to modify
          int version = in.getInt();
          // Read persistence informations
          boolean persistent = in.getInt() == 2;
          // Skip unknown bytes
          in.skip(4);
          // create our shared object message
          final SharedObjectMessage so = new SharedObjectMessage(null, name, version, persistent);
          doDecodeSharedObject(so, in, input);
          return so;
      }
docs: {@inheritDoc}