[][src]Function mynewt::encoding::tinycbor::cbor_encode_text_string

pub unsafe extern "C" fn cbor_encode_text_string(
    encoder: *mut CborEncoder,
    string: *const c_char,
    length: usize
) -> CborError

Appends the byte string \a string of length \a length to the CBOR stream provided by \a encoder. CBOR byte strings are arbitrary raw data.

\sa cbor_encode_text_stringz, cbor_encode_text_string