code: @Override
      public void write(int value) throws IOException {
          validate();
          byte[] buf = new byte[1];
          buf[0] = (byte) value;
          writeToBuffers(buf, 0, 1);
  
      }
docs: /*
  @see java.io.OutputStream#write(int)