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

pub unsafe extern "C" fn cbor_encoder_create_indef_byte_string(
    encoder: *mut CborEncoder,
    stringEncoder: *mut CborEncoder
) -> CborError

Creates a indefinite-length byte string in the CBOR stream provided by \a encoder and initializes \a stringEncoder so that chunks of original string can be added using the CborEncoder functions. The string must be terminated by calling cbor_encoder_close_container() with the same \a encoder and \a stringEncoder parameters.

\sa cbor_encoder_create_array