Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Sep 26, 2024
1 parent 4cf0538 commit d9a6e72
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 d9a6e72

Please sign in to comment.