• Cl.bufferFromUtf8 — Converts bytes (from an UTF-8 string) to a Clarity buffer type, represented as a JS object

    Parameters

    • utf8: string

    Returns BufferCV

    input encoded as a BufferCV

    Example

    import { Cl } from '@stacks/transactions';
    Cl.bufferFromUtf8('hello world');

Generated using TypeDoc