# candid encode

This section is a work in progress.

Examples:

- call_raw
- candid_encoding
- manual_reply
- notify_raw
- outgoing_http_requests

    import { blob, Canister, ic, query, text } from 'azle';

    export default Canister({
        // encodes a Candid string to Candid bytes
        candidEncode: query([text], blob, (candidString) => {
            return ic.candidEncode(candidString);
        })
    });