INNER CODE UNIT · JavaScript

hexle

FStarLang/karamel · krmllib/js/loader.js:42

function hexle(m8, i, m) {
  let buf = "";
  let n = m - 1;
  while (n >= 0) {
    buf += p8(m8[i+n]);
    n--;
  }
  return buf;
}

function hex32(m8, start) {
  return hexle(m8, start, 4);
}

function hex64(m8, start) {
  return hexle(m8, start, 8);
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…