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 9431695 commit bb63b1cCopy full SHA for bb63b1c
bson/src/main/org/bson/BsonBinary.java
@@ -165,6 +165,9 @@ public byte getType() {
165
/**
166
* Gets the data of this Binary.
167
*
168
+ * This method returns the internal copy of the byte array, so only modify the contents of the returned array if the intention is to
169
+ * change the state of this instance.
170
+ *
171
* @return the data
172
*/
173
public byte[] getData() {
0 commit comments