Proton DotNet
|
Defines a state object that is used with the AMQP Encoder type to hold intermediate state and provide additional functionality that can be used during the encode process. More...
Public Member Functions | |
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] |
Gets the IEncoder instance that was used when creating this encoder state object. More... | |
Defines a state object that is used with the AMQP Encoder type to hold intermediate state and provide additional functionality that can be used during the encode process.
IProtonBuffer Apache.Qpid.Proton.Codec.IEncoderState.EncodeUtf8 | ( | IProtonBuffer | buffer, |
string | value | ||
) |
Encodes the given string into UTF-8 bytes that are written into the provided buffer.
buffer | |
value | the string that is to be encoded as a UTF-8 byte sequence |
Implemented in Apache.Qpid.Proton.Codec.Encoders.ProtonEncoderState.
void Apache.Qpid.Proton.Codec.IEncoderState.Reset | ( | ) |
Resets the encoder after a complete encode operation freeing any held resources and preparing for a new encode operation.
Implemented in Apache.Qpid.Proton.Codec.Encoders.ProtonEncoderState.
|
get |
Gets the IEncoder instance that was used when creating this encoder state object.