public class UTF8BufferType.SmallUTF8BufferEncoding extends UTF8BufferType.UTF8BufferEncoding
| Constructor and Description |
|---|
SmallUTF8BufferEncoding(org.apache.qpid.proton.codec.EncoderImpl encoder,
org.apache.qpid.proton.codec.DecoderImpl decoder) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getEncodingCode() |
int |
getSizeBytes() |
void |
writeSize(org.fusesource.hawtbuf.UTF8Buffer value)
Write the size of the buffer using the appropriate type (byte or int) depending
on the encoding type being used.
|
encodesJavaPrimitive, encodesSuperset, getConstructorSize, getDecoder, getEncoder, getType, getTypeClass, getValueSize, isFixedSizeVal, readValue, skipValue, writeConstructor, writeValuepublic SmallUTF8BufferEncoding(org.apache.qpid.proton.codec.EncoderImpl encoder, org.apache.qpid.proton.codec.DecoderImpl decoder)
public byte getEncodingCode()
public int getSizeBytes()
getSizeBytes in class UTF8BufferType.UTF8BufferEncodingpublic void writeSize(org.fusesource.hawtbuf.UTF8Buffer value)
UTF8BufferType.UTF8BufferEncodingwriteSize in class UTF8BufferType.UTF8BufferEncodingvalue - The UTF8Buffer value that is being encoded.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.