Proton DotNet
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Apache.Qpid.Proton.Codec.IUtf8Decoder Interface Reference

Interface for an external UTF8 Decoder that can be supplied by a client which implements custom decoding logic optimized for the application using the Codec. More...

Public Member Functions

string DecodeUTF8 (IProtonBuffer buffer, int utf8length)
 Decodes a String from the given UTF8 Bytes advancing the buffer read index by the given length value once complete. If the implementation does not advance the buffer read index the outcome of future decode calls is not defined.
 

Detailed Description

Interface for an external UTF8 Decoder that can be supplied by a client which implements custom decoding logic optimized for the application using the Codec.

Member Function Documentation

◆ DecodeUTF8()

string Apache.Qpid.Proton.Codec.IUtf8Decoder.DecodeUTF8 ( IProtonBuffer  buffer,
int  utf8length 
)

Decodes a String from the given UTF8 Bytes advancing the buffer read index by the given length value once complete. If the implementation does not advance the buffer read index the outcome of future decode calls is not defined.

Parameters
bufferThe buffer that carries the UTF8 bytes
utf8lengththe length of the UTF8 string
Returns
The decoded UTF-8 string

The documentation for this interface was generated from the following file: