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 674c155 commit 55ba0b1Copy full SHA for 55ba0b1
bson/src/main/org/bson/io/ByteBufferBsonInput.java
@@ -214,7 +214,7 @@ private int computeCStringLength(final int prevPos) {
214
00000000 00000000 11111111 00000000 00000001 00000001 00000000 00000111
215
216
ANDing mask with 0x8080808080808080 isolates the high bit (0x80) in positions where
217
- the original byte was 0x00, by setting the high bit to 1 only at the 0x00 byte position.
+ the original byte was 0x00, thereby setting the high bit to 1 only at the 0x00 byte position.
218
219
result:
220
00000000 00000000 10000000 00000000 00000000 00000000 00000000 00000000
0 commit comments