import mir.bignum.low_level_view: BigUIntView; ubyte[8] data; ubyte[] result = [0x72, 0x01, 0xFF]; // auto id = BigUIntView!(ubyte, WordEndian.big).fromHexString("1FF"); // assert(data[0 .. ionPutSymbolId(data.ptr, id)] == result);
See Implementation