This commit is contained in:
RedKale
2016-02-19 17:34:37 +08:00
parent 6e3d2c5e2d
commit 736f6b54e3

View File

@@ -23,6 +23,10 @@ public class BsonByteBufferWriter extends BsonWriter {
private int index;
public BsonByteBufferWriter(Supplier<ByteBuffer> supplier) {
this(false, supplier);
}
protected BsonByteBufferWriter(boolean tiny, Supplier<ByteBuffer> supplier) {
super((byte[]) null);
this.tiny = tiny;