public static byte[] objectToBlob(Object o) {
        try {
            return SerializerContext.getInstance().serialize(o);
        } catch (SerializerException e) {
            throw new RuntimeException(e);
        }
    }
public static byte[] objectToBlob(Object o) {
        try {
            return SerializerContext.getInstance().serialize(o);
        } catch (SerializerException e) {
            throw new RuntimeException(e);
        }
    }
public static byte [ ] objectToBlob ( Object o ) { try { return SerializerContext . getInstance ( ) . serialize ( o ) ; } catch ( SerializerException e ) { throw new RuntimeException ( e ) ; } }
java Object to bytes

@param o o
@return byte[]
java Object to bytes