Class UTF8BufferType.LargeUTF8BufferEncoding

  • All Implemented Interfaces:
    org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>, org.apache.qpid.proton.codec.TypeConstructor<org.fusesource.hawtbuf.UTF8Buffer>, org.apache.qpid.proton.codec.TypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>
    Enclosing class:
    UTF8BufferType

    public class UTF8BufferType.LargeUTF8BufferEncoding
    extends UTF8BufferType.UTF8BufferEncoding
    • Constructor Detail

      • LargeUTF8BufferEncoding

        public LargeUTF8BufferEncoding​(org.apache.qpid.proton.codec.EncoderImpl encoder,
                                       org.apache.qpid.proton.codec.DecoderImpl decoder)
    • Method Detail

      • getEncodingCode

        public byte getEncodingCode()
      • writeSize

        public void writeSize​(org.fusesource.hawtbuf.UTF8Buffer value)
        Description copied from class: UTF8BufferType.UTF8BufferEncoding
        Write the size of the buffer using the appropriate type (byte or int) depending on the encoding type being used.
        Specified by:
        writeSize in class UTF8BufferType.UTF8BufferEncoding
        Parameters:
        value - The UTF8Buffer value that is being encoded.