Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function encodeUTF8Vec(str) {
return encodeVec(utf8.encode(str));
}
export function encodeLimits(n) {
export function encodeUTF8Vec(str) {
return encodeVec(utf8.encode(str));
}
export function encodeLimits(n) {
export function encodeUTF8Vec(str: string): Array {
return encodeVec(utf8.encode(str));
}