Proton DotNet
Public Member Functions | List of all members
Apache.Qpid.Proton.Codec.Encoders.IUtf8Encoder Interface Reference

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

Public Member Functions

IProtonBuffer EncodeUTF8 (IProtonBuffer buffer, string sequence)
 Encodes the given sequence of characters in UTF8 to the given buffer. More...
 

Detailed Description

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

Member Function Documentation

◆ EncodeUTF8()

IProtonBuffer Apache.Qpid.Proton.Codec.Encoders.IUtf8Encoder.EncodeUTF8 ( IProtonBuffer  buffer,
string  sequence 
)

Encodes the given sequence of characters in UTF8 to the given buffer.

Parameters
bufferThe buffer where the encoding will be written
sequenceThe string whose characters will be encoded
Returns
A reference to the encoding buffer for chaining

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