[−][src]Function mynewt::encoding::tinycbor::cbor_encoder_init
pub unsafe extern "C" fn cbor_encoder_init(
encoder: *mut CborEncoder,
pwriter: *mut cbor_encoder_writer,
flags: c_int
)
Initializes a CborEncoder structure \a encoder by pointing it to buffer \a buffer of size \a size. The \a flags field is currently unused and must be zero.