Writes an Ion symbol ID into a byte buffer at ptr, returning the number of bytes written. (community summary)
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);
Writes an Ion symbol ID into a byte buffer at ptr, returning the number of bytes written. (community summary)