The OpenD Programming Language

ionPut

Examples

import mir.date;

ubyte[13] data;

ubyte[] result = [0x65, 0x80, 0x0F, 0xD0, 0x87, 0x88];
auto ts = Date(2000, 7, 8);
assert(data[0 .. ionPut(data.ptr, ts)] == result);

Meta