Serializes a value into a byte buffer at `ptr`, returning the number of bytes written. (community summary)
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);
Serializes a value into a byte buffer at `ptr`, returning the number of bytes written. (community summary)