code: public void writeLE(final long n, final int b) {
          long v = n;
          for (int i = 0; i < b; i++) {
              write((byte) (v & 0xff));
              v >>= 8;
          }
      }
docs: Write any number of bytes in little endian format.
  
  @param n
  the value to use.
  @param b
  the number of bytes to write from the little end.