Cl.bufferFromAscii — Converts bytes (from an ASCII string) to a Clarity buffer type, represented as a JS object
Cl.bufferFromAscii
buffer
input encoded as a BufferCV
import { Cl } from '@stacks/transactions';Cl.bufferFromAscii('hello world'); Copy
import { Cl } from '@stacks/transactions';Cl.bufferFromAscii('hello world');
Generated using TypeDoc
Cl.bufferFromAscii
— Converts bytes (from an ASCII string) to a Claritybuffer
type, represented as a JS object