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