• Cl.buffer — Creates a Clarity buffer type, represented as a JS object

    Alias for bufferCV

    Parameters

    • buffer: Uint8Array

    Returns BufferCV

    Example

    import { Cl } from '@stacks/transactions';
    Cl.buffer(Uint8Array.from([0x01, 0x02, 0x03]));

    See

    serialize, deserialize

Generated using TypeDoc