code: public void write(int ch)
          throws IOException
      {
          OutputStream os = getOutputStream();
  
          os.write('D');
          os.write(0);
          os.write(1);
          os.write(ch);
      }
docs: Writes a data byte to the output stream.