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 encodeI32(v) {
var uint8view = new Uint8Array(leb.encodeI32(v));
var array = _toConsumableArray(uint8view);
return array;
}
export function encodeI64(v) {
export function encodeI32(v: number): Array {
const uint8view = new Uint8Array(leb.encodeI32(v));
const array = [...uint8view];
return array;
}
export function encodeI32(v) {
var uint8view = new Uint8Array(leb.encodeI32(v));
var array = _toConsumableArray(uint8view);
return array;
}
export function encodeI64(v) {