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