code: public static byte[] getBytes(Object o)
      {
          if (o != null)
          {
              return getBytes(o, o.getClass());
          }
  
          return null;
      }
docs: Gets the bytes.
  
  @param o
  the o
  @return the bytes