unify-byte-counts #21

Merged
sashakoshka merged 16 commits from unify-byte-counts into main 2025-10-13 08:49:49 -06:00
Showing only changes of commit 813d219580 - Show all commits

View File

@@ -78,6 +78,6 @@ func bufferLenTag(length int) Tag {
if length < int(CNLimit) { if length < int(CNLimit) {
return SBA.WithCN(length) return SBA.WithCN(length)
} else { } else {
return LBA.WithCN(IntBytes(uint64(length))) return LBA.WithCN(IntBytes(uint64(length)) - 1)
} }
} }