public void writeByte(int v) {try {out.write(v);} catch (IOException e) {throw new RuntimeException(e);}}
public void WriteByte(int v){try{out1.WriteByte((byte)v);}catch (IOException e){throw new RuntimeException(e);}}