const writeIntBig: type = switch (native_endian) {
    .Little => writeIntForeign,
    .Big => writeIntNative,
};