ionPutSymbolId

  1. size_t ionPutSymbolId(ubyte* ptr, T value)
  2. size_t ionPutSymbolId(ubyte* ptr, BigUIntView!T value)
    size_t
    ionPutSymbolId
    (
    T
    )
    (
    scope ubyte* ptr
    ,
    BigUIntView!T value
    )

Examples

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);

Meta