code: public IoBuffer encodeFlexSharedObject(ISharedObjectMessage so) {
          final IoBuffer out = IoBuffer.allocate(128);
          out.setAutoExpand(true);
          out.put((byte) 0x00); // unknown (not AMF version)
          doEncodeSharedObject(so, out);
          return out;
      }
docs: {@inheritDoc}