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

pub unsafe extern "C" fn cbor_encode_simple_value(
    encoder: *mut CborEncoder,
    value: u8
) -> CborError

Appends the CBOR Simple Type of value \a value to the CBOR stream provided by \a encoder.

This function may return error CborErrorIllegalSimpleType if the \a value variable contains a number that is not a valid simple type.