importlebfrom"./leb";/** * According to https://webassembly.github.io/spec/core/binary/values.html#binary-int * max = ceil(32/7) */exportvarMAX_NUMBER_OF_BYTE_U32=5;/** * According to https://webassembly.github.io/spec/core/binary/values.html#binary-int * max = ceil(64/7) */exportvarMAX_NUMBER_OF_BYTE_U64=10;exportfunctiondecodeInt64(encodedBuffer,index){returnleb.decodeInt64(encodedBuffer,index);}exportfunctiondecodeUInt64(encodedBuffer,index){returnleb.decodeUInt64(encodedBuffer,index);}exportfunctiondecodeInt32(encodedBuffer,index){returnleb.decodeInt32(encodedBuffer,index);}exportfunctiondecodeUInt32(encodedBuffer,index){returnleb.decodeUInt32(encodedBuffer,index);}exportfunctionencodeU32(v){returnleb.encodeUInt32(v);}exportfunctionencodeI32(v){returnleb.encodeInt32(v);}exportfunctionencodeI64(v){returnleb.encodeInt64(v);}