Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Sep 30, 2024
1 parent 55b68b7 commit d15f7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmap/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export class DocumentSequence {
this.chunks.push(buffer);
// Write the new length.
this.header?.writeInt32LE(4 + this.field.length + 1 + this.serializedDocumentsLength, 1);
return this.serializedDocumentsLength + (this.header?.length ?? 0);
return this.serializedDocumentsLength + this.header.length;
}

/**
Expand Down

0 comments on commit d15f7cd

Please sign in to comment.