className = SCRIPT_COMMAND_CLASS_ASBYTES;
else
className = OBinaryProtocol.string2bytes(iObject.getClass().getName());
// SERIALIZE THE OBJECT CONTENT
byte[] objectContent = stream.toStream();
byte[] result = new byte[4 + className.length + objectContent.length];
// COPY THE CLASS NAME SIZE + CLASS NAME + OBJECT CONTENT
System.arraycopy(OBinaryProtocol.int2bytes(className.length), 0, result, 0, 4);