/** * decodes a LEB128 encoded unsigned integer * @param buffer the buffer of bytes to read * @returns the decoded number */ export declare function decode(buffer: Uint8Array): { result: number; tail: Uint8Array; }; /** * encodes an unsigned integer to LEB128 * @param value the unsigned integer * @returns the LEB128 bytes */ export declare function encode(value: number): Uint8Array; //# sourceMappingURL=leb128.d.ts.map