feat(staging): adding protobuf decoder (part 2)

This commit is contained in:
Savely Savianok
2025-03-01 22:58:48 +03:00
parent bd490d4642
commit ba4b8cc29e
3 changed files with 29 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
import { decodeVarint } from "./varintUtils";
class BufferReader {
export class BufferReader {
constructor(buffer) {
this.buffer = buffer;
this.offset = 0;