bufferFromAscii
Last updated
Was this helpful?
Creates a Clarity buffer type from an ASCII string. Converts the ASCII string to bytes and wraps it in a BufferCV.
import { Cl } from '@stacks/transactions';
Cl.bufferFromAscii('hello world');const bufferFromAscii: (ascii: string) => BufferCV;BufferCV
A Clarity buffer value object.
Type: string
An ASCII string to convert to a buffer.
Last updated
Was this helpful?
Was this helpful?