Lines Matching full:encode
2 * encode.h -- encoding and decoding of CoAP data types
38 * @defgroup encode Encode / Decode API
68 * to encode.
69 * Returns the number of bytes used to encode @p value or 0 on error.
71 * @param buf The output buffer to encode into
72 * @param length The output buffer size to encode into (must be sufficient)
73 * @param value The value to encode into the buffer
75 * @return The number of bytes used to encode @p value or @c 0 on error.
84 * to encode.
85 * Returns the number of bytes used to encode @p value or 0 on error.
87 * @param buf The output buffer to encode into
88 * @param length The output buffer size to encode into (must be sufficient)
89 * @param value The value to encode into the buffer
91 * @return The number of bytes used to encode @p value or @c 0 on error.