class CorbaObjectWriter {

    public void writeUShort(Integer s) throws CorbaBindingException {
        if (s == null) {
            stream.write_ushort((short)0);
        } else {
            stream.write_ushort(s.shortValue());
        }
    }

    public  CorbaObjectWriter(OutputStream outStream);

}