The OpenD Programming Language

ionPutSymbolId

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

Examples

ubyte[8] data;

ubyte[] result = [0x72, 0x01, 0xFF];
auto id = 0x1FFu;
assert(data[0 .. ionPutSymbolId(data.ptr, id)] == result);

Meta