This commit is contained in:
@@ -23,6 +23,10 @@ public class BsonByteBufferWriter extends BsonWriter {
|
|||||||
|
|
||||||
private int index;
|
private int index;
|
||||||
|
|
||||||
|
public BsonByteBufferWriter(Supplier<ByteBuffer> supplier) {
|
||||||
|
this(false, supplier);
|
||||||
|
}
|
||||||
|
|
||||||
protected BsonByteBufferWriter(boolean tiny, Supplier<ByteBuffer> supplier) {
|
protected BsonByteBufferWriter(boolean tiny, Supplier<ByteBuffer> supplier) {
|
||||||
super((byte[]) null);
|
super((byte[]) null);
|
||||||
this.tiny = tiny;
|
this.tiny = tiny;
|
||||||
|
|||||||
Reference in New Issue
Block a user