Function tarantool_rust_module::BoxTupleo_buf [] [src]

pub unsafe extern "C" fn BoxTupleo_buf(
    tuple: *const BoxTuple,
    buf: *mut c_char,
    size: usize
) -> isize

Dump raw MsgPack data to the memory byffer \a buf of size \a size.

Store tuple fields in the memory buffer. \retval -1 on error. \retval number of bytes written on success. Upon successful return, the function returns the number of bytes written. If buffer size is not enough then the return value is the number of bytes which would have been written if enough space had been available.