pub unsafe extern "C" fn aws_huffman_encode(
encoder: *mut aws_huffman_encoder,
to_encode: *mut aws_byte_cursor,
output: *mut aws_byte_buf
) -> c_int
Expand description
Encode a symbol buffer into the output buffer.
\param[in] encoder The encoder object to use \param[in] to_encode The symbol buffer to encode \param[in] output The buffer to write encoded bytes to
\return AWS_OP_SUCCESS if encoding is successful, AWS_OP_ERR otherwise