code: public void poke4BE(final int offset, final long n) {
          if (offset < super.count) {
              buf[offset + 0] = (byte) ((n & 0xff000000) >> 24);
              buf[offset + 1] = (byte) ((n & 0xff0000) >> 16);
              buf[offset + 2] = (byte) ((n & 0xff00) >> 8);
              buf[offset + 3] = (byte) (n & 0xff);
          }
      }
docs: Write the low four bytes of a value to the stream in bif endian order, at
  the specified position. If the position specified is beyond the end of
  the stream, this method will have no effect.
  
  Normally this method should be used in conjunction with {@link #size()
  size()}, when is is necessary to insert data into the stream before it is
  known what the actual value should be. For example:
  
  <pre>
  int pos = s.size();
  s.write4BE(0); // make space for length data,
  // but final value is not yet known
  [ ...more write statements...]
  // later... when we know the length value
  s.poke4BE(pos, length);
  </pre>
  
  
  @param offset
  the position in the stream.
  @param n
  the value to use.