This commit is contained in:
kamhung
2015-11-10 17:15:16 +08:00
parent eb79f0840b
commit 61bedd2c47

View File

@@ -6,7 +6,6 @@
package com.wentch.redkale.convert.bson;
import java.nio.*;
import java.nio.charset.*;
import java.util.function.*;
/**
@@ -15,8 +14,6 @@ import java.util.function.*;
*/
public final class BsonByteBufferWriter extends BsonWriter {
private static final Charset UTF8 = Charset.forName("UTF-8");
private final Supplier<ByteBuffer> supplier;
private ByteBuffer[] buffers;
@@ -138,7 +135,7 @@ public final class BsonByteBufferWriter extends BsonWriter {
@Override
public int rewriteTo(int position, byte... chs) {
return position += chs.length;
throw new UnsupportedOperationException("Not supported yet.");
}
@Override