public class ByteArrayDecoder extends AbstractCodedOutputStream
| 构造器和说明 |
|---|
ByteArrayDecoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
buffer(byte value)
This method does not perform bounds checking on the array.
|
protected void |
bufferByteArrayNoTag(byte[] bytes) |
protected void |
bufferFixed32NoTag(int value)
This method does not perform bounds checking on the array.
|
protected void |
bufferFixed64NoTag(long value)
This method does not perform bounds checking on the array.
|
protected void |
bufferInt32NoTag(int value)
This method does not perform bounds checking on the array.
|
protected void |
bufferMakeLengthIndex()
标记当前长度写入位置.
|
protected void |
bufferUInt32NoTag(int value)
This method does not perform bounds checking on the array.
|
protected void |
bufferUInt64NoTag(long value)
This method does not perform bounds checking on the array.
|
protected void |
bufferWriteLength() |
void |
close() |
protected void |
flushIfNotAvailable(int minCapacity) |
byte[] |
getByteArray() |
computeInt32SizeNoTag, encodeZigZag32, encodeZigZag64, newInstance, writeBool, writeBoolList, writeDouble, writeFixed32, writeFixed32List, writeFixed64, writeFixed64List, writeFloat, writeInt32, writeInt32List, writeInt64, writeInt64List, writeMessage, writeMessageList, writeSInt32, writeSInt32List, writeSInt64, writeSInt64List, writeString, writeStringListprotected void flushIfNotAvailable(int minCapacity)
protected void bufferMakeLengthIndex()
AbstractCodedOutputStreamprotected void bufferWriteLength()
protected void buffer(byte value)
buffer 在类中 AbstractCodedOutputStreamprotected void bufferInt32NoTag(int value)
protected void bufferUInt32NoTag(int value)
protected final void bufferUInt64NoTag(long value)
protected final void bufferFixed32NoTag(int value)
protected final void bufferFixed64NoTag(long value)
protected void bufferByteArrayNoTag(byte[] bytes)
public void close()
close 在接口中 java.lang.AutoCloseableclose 在类中 AbstractCodedOutputStreampublic byte[] getByteArray()
getByteArray 在类中 AbstractCodedOutputStream