API reference › @evolu/common › local‑first/Protocol › decodeNonNegativeInt
function decodeNonNegativeInt(
buffer: Buffer,
): number & Brand<"Int"> & Brand<"NonNegative">;
Defined in: packages/common/src/local-first/Protocol.ts:2012
Decodes a non-negative integer from a variable-length integer format.