const writeIntSliceForeign: type = switch (native_endian) { .Little => writeIntSliceBig, .Big => writeIntSliceLittle, };