public class BsonByteBufferWriter extends BsonWriter
详情见: http://www.redkale.org
count, tiny| 限定符 | 构造器和说明 |
|---|---|
protected |
BsonByteBufferWriter(boolean tiny,
java.util.function.Supplier<java.nio.ByteBuffer> supplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
expand(int byteLength)
扩充指定长度的缓冲区
|
protected boolean |
recycle() |
BsonByteBufferWriter |
tiny(boolean tiny) |
byte[] |
toArray() |
java.nio.ByteBuffer[] |
toBuffers() |
java.lang.String |
toString() |
void |
writeTo(byte ch) |
void |
writeTo(byte[] chs,
int start,
int len) |
count, createPool, tiny, wirteClassName, writeArrayB, writeArrayE, writeArrayMark, writeBoolean, writeByte, writeChar, writeDouble, writeFieldName, writeFloat, writeInt, writeLong, writeMapB, writeMapE, writeMapMark, writeNull, writeObjectB, writeObjectE, writeShort, writeSmallString, writeString, writeTowriteObjectField, writeObjectNullprotected BsonByteBufferWriter(boolean tiny,
java.util.function.Supplier<java.nio.ByteBuffer> supplier)
public java.nio.ByteBuffer[] toBuffers()
toBuffers 在类中 BsonWriterpublic byte[] toArray()
toArray 在类中 BsonWriterpublic java.lang.String toString()
toString 在类中 BsonWriterpublic BsonByteBufferWriter tiny(boolean tiny)
tiny 在类中 BsonWriterprotected int expand(int byteLength)
BsonWriterexpand 在类中 BsonWriterbyteLength - 扩容长度public void writeTo(byte[] chs,
int start,
int len)
writeTo 在类中 BsonWriterpublic void writeTo(byte ch)
writeTo 在类中 BsonWriterprotected boolean recycle()
recycle 在类中 BsonWriter