code: public static void writeUnsignedIntegerLittleEndian(byte[] buffer, int offset, long value) {
  		buffer[offset++] = (byte)(value & 0xFF);
  		buffer[offset++] = (byte)((value >> 8) & 0xFF);
  		buffer[offset++] = (byte)((value >> 16) & 0xFF);
  		buffer[offset] = (byte)((value >> 24) & 0xFF);
  	}
docs: little-endian or intel format.