code: public void write4BE(final long n) {
          write((byte) ((n & 0xff000000) >> 24));
          write((byte) ((n & 0xff0000) >> 16));
          write((byte) ((n & 0xff00) >> 8));
          write((byte) (n & 0xff));
      }
docs: Write the low four bytes of a value to the stream in big endian order.
  
  @param n
  the value to use.