This commit is contained in:
Redkale
2019-09-25 15:33:18 +08:00
parent 95ad6e99d9
commit 7db73c076c

View File

@@ -43,7 +43,7 @@ public class BsonWriter extends Writer {
}
protected BsonWriter(byte[] bs) {
this.content = bs;
this.content = bs == null ? new byte[0] : bs;
}
public BsonWriter() {