public class ProtobufByteBufferWriter extends ProtobufWriter
count, tiny| 限定符 | 构造器和说明 |
|---|---|
protected |
ProtobufByteBufferWriter(boolean tiny,
Supplier<ByteBuffer> supplier) |
|
ProtobufByteBufferWriter(Supplier<ByteBuffer> supplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
expand(int byteLength) |
protected boolean |
recycle() |
ProtobufByteBufferWriter |
tiny(boolean tiny) |
byte[] |
toArray() |
ByteBuffer[] |
toBuffers() |
String |
toString() |
void |
writeTo(byte ch) |
void |
writeTo(byte[] chs,
int start,
int len) |
count, createPool, needWriteClassName, tiny, writeArrayB, writeArrayE, writeArrayMark, writeBoolean, writeByte, writeByteArray, writeChar, writeClassName, writeDouble, writeFieldName, writeFixed32, writeFixed64, writeFloat, writeInt, writeLong, writeMapB, writeMapE, writeMapMark, writeNull, writeObjectB, writeObjectE, writeObjectField, writeShort, writeSmallString, writeString, writeTo, writeUInt32, writeUInt64, writeWrapperpublic ProtobufByteBufferWriter(Supplier<ByteBuffer> supplier)
protected ProtobufByteBufferWriter(boolean tiny,
Supplier<ByteBuffer> supplier)
public ByteBuffer[] toBuffers()
toBuffers 在类中 ProtobufWriterpublic byte[] toArray()
toArray 在类中 ProtobufWriterpublic String toString()
toString 在类中 ProtobufWriterpublic ProtobufByteBufferWriter tiny(boolean tiny)
tiny 在类中 ProtobufWriterprotected int expand(int byteLength)
expand 在类中 ProtobufWriterpublic void writeTo(byte[] chs,
int start,
int len)
writeTo 在类中 ProtobufWriterpublic void writeTo(byte ch)
writeTo 在类中 ProtobufWriterprotected boolean recycle()
recycle 在类中 ProtobufWriterCopyright © 2020. All rights reserved.