pub trait TxBuffer {
fn len(&self) -> usize;
fn as_c_void(&self) -> (*const c_void, size_t);
fn as_c_char(&self) -> (*const c_char, size_t);
}
Expand description
The ‘TxBuffer’ is a used when writing data out. It’s contents must be fully initialized.
Required methods
Returns a const void*/size_t pair to be used in the C call.