There was an error while loading. Please reload this page.
1 parent 17c0b2a commit 3d653aaCopy full SHA for 3d653aa
1 file changed
src/Base85.cs
@@ -188,6 +188,8 @@ static bool writeEncodedValue(
188
return false;
189
}
190
191
+ if (blockLength == stringBlockSize)
192
+ {
193
if (block == 0 && zeroShortcutChar is not null)
194
{
195
output[0] = zeroShortcutChar.Value; // guaranteed to be non-null
@@ -201,6 +203,7 @@ static bool writeEncodedValue(
201
203
bytesWritten = 1;
202
204
return true;
205
206
+ }
207
208
if (blockLength > output.Length)
209
0 commit comments