Skip to content

Commit 123152f

Browse files
author
Craig Berry
committed
Tweak comment
1 parent 890e08a commit 123152f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ValueRepresentation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ class NumericStringRepresentation extends AsciiStringRepresentation {
668668
const numStr = stream.readAsciiString(length);
669669
const nums = numStr.split(BACKSLASH);
670670

671-
// final element in list may have a padding byte for even length, this should be removed as it is not part of
672-
// the original value and prevents max length issues during write
671+
// final element in multiplicity array may have a padding byte for even length, remove if this exceeds the max
672+
// allowed length to prevent errors during write
673673
if (nums.length > 1) {
674674
const last = nums[nums.length - 1];
675675

0 commit comments

Comments
 (0)