We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b68b7 commit d15f7cdCopy full SHA for d15f7cd
src/cmap/commands.ts
@@ -474,7 +474,7 @@ export class DocumentSequence {
474
this.chunks.push(buffer);
475
// Write the new length.
476
this.header?.writeInt32LE(4 + this.field.length + 1 + this.serializedDocumentsLength, 1);
477
- return this.serializedDocumentsLength + (this.header?.length ?? 0);
+ return this.serializedDocumentsLength + this.header.length;
478
}
479
480
/**
0 commit comments