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