e, offset, min, max) {
  if (validateNumber(offset, "offset"), value > max || value < min)
    throw @makeErrorWithCode(156, "value", `>= ${min} and <= ${max}`, value);
  if (buf[offset] === @undefined)
    boundsError(offset, buf.length - 1);
}
$ = {
  boundsError,
  checkBounds,
  checkInt,
  writeU_Int8
};
return $})

