Initial commit

This commit is contained in:
Brian McGonagill 2026-03-18 09:02:21 -05:00
commit b3a51a4115
10336 changed files with 2381973 additions and 0 deletions

View file

@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.indexToPrintableIndexMapper = indexToPrintableIndexMapper;
exports.indexToPrintableIndexUnmapper = indexToPrintableIndexUnmapper;
function indexToPrintableIndexMapper(v) {
if (v < 95)
return v + 0x20;
if (v <= 0x7e)
return v - 95;
return v;
}
function indexToPrintableIndexUnmapper(v) {
if (v >= 0x20 && v <= 0x7e)
return v - 0x20;
if (v >= 0 && v <= 0x1f)
return v + 95;
return v;
}