Lines Matching full:encode
2 * encode.h -- encoding and decoding of CoAP data types
44 * @defgroup encode Encode / Decode API
74 * to encode.
75 * Returns the number of bytes used to encode @p value or 0 on error.
77 * @param buf The output buffer to encode into
78 * @param length The output buffer size to encode into (must be sufficient)
79 * @param value The value to encode into the buffer
81 * @return The number of bytes used to encode @p value (which can be 0
91 * to encode.
92 * Returns the number of bytes used to encode @p value or 0 on error.
94 * @param buf The output buffer to encode into
95 * @param length The output buffer size to encode into (must be sufficient)
96 * @param value The value to encode into the buffer
98 * @return The number of bytes used to encode @p value (which can be 0