We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149f134 commit 176db5bCopy full SHA for 176db5b
bson/src/main/org/bson/io/ByteBufferBsonInput.java
@@ -221,7 +221,7 @@ private int computeCStringLength(final int prevPos) {
221
result:
222
00000000 00000000 10000000 00000000 00000000 00000000 00000000 00000000
223
^^^^^^^^
224
- The most significant bit is set only at the 0x00 byte position.
+ The most significant bit is set in each 0x00 byte, and only there.
225
*/
226
mask &= 0x8080808080808080L;
227
if (mask != 0) {
0 commit comments