Proton DotNet
Public Member Functions | Properties | List of all members
Apache.Qpid.Proton.Codec.Encoders.ProtonEncoderState Class Reference
Inheritance diagram for Apache.Qpid.Proton.Codec.Encoders.ProtonEncoderState:
Apache.Qpid.Proton.Codec.IEncoderState

Public Member Functions

 ProtonEncoderState (ProtonEncoder encoder)
 
void Reset ()
 Resets the encoder after a complete encode operation freeing any held resources and preparing for a new encode operation. More...
 
IProtonBuffer EncodeUtf8 (IProtonBuffer buffer, string value)
 Encodes the given string into UTF-8 bytes that are written into the provided buffer. More...
 

Properties

IEncoder Encoder [get]
 
IUtf8Encoder Utf8Encoder [get, set]
 
- Properties inherited from Apache.Qpid.Proton.Codec.IEncoderState
IEncoder Encoder [get]
 Gets the IEncoder instance that was used when creating this encoder state object. More...
 

Member Function Documentation

◆ EncodeUtf8()

IProtonBuffer Apache.Qpid.Proton.Codec.Encoders.ProtonEncoderState.EncodeUtf8 ( IProtonBuffer  buffer,
string  value 
)
inline

Encodes the given string into UTF-8 bytes that are written into the provided buffer.

Parameters
buffer
valuethe string that is to be encoded as a UTF-8 byte sequence
Returns
A reference to the passed buffer where the encoding was done.

Implements Apache.Qpid.Proton.Codec.IEncoderState.

◆ Reset()

void Apache.Qpid.Proton.Codec.Encoders.ProtonEncoderState.Reset ( )
inline

Resets the encoder after a complete encode operation freeing any held resources and preparing for a new encode operation.

Implements Apache.Qpid.Proton.Codec.IEncoderState.


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