• Cl.bufferFromAscii — Converts bytes (from an ASCII string) to a Clarity buffer type, represented as a JS object

    Parameters

    • ascii: string

    Returns BufferCV

    input encoded as a BufferCV

    Example

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

Generated using TypeDoc