Proton DotNet
|
Defines a state object that is used with the AMQP Decoder type to hold intermediate state and provide additional functionality that can be used during the decode process. More...
Public Member Functions | |
void | Reset () |
Resets the decoder after a complete decode operation freeing any held resources and preparing for a new decode operation. | |
string | DecodeUtf8 (IProtonBuffer buffer, int length) |
Decodes an encoded UTF-8 string value from the given buffer. The number of bytes that comprise the encoding is provided by the caller, the decoder should not read more than that number of bytes from the provided buffer. | |
Properties | |
IDecoder | Decoder [get] |
Gets the IDecoder instance that was used when creating this decoder state object. | |
Defines a state object that is used with the AMQP Decoder type to hold intermediate state and provide additional functionality that can be used during the decode process.
string Apache.Qpid.Proton.Codec.IDecoderState.DecodeUtf8 | ( | IProtonBuffer | buffer, |
int | length | ||
) |
Decodes an encoded UTF-8 string value from the given buffer. The number of bytes that comprise the encoding is provided by the caller, the decoder should not read more than that number of bytes from the provided buffer.
buffer | The buffer where the bytes are to be read from. |
length | The encoded size of the UTF-8 string. |
Implemented in Apache.Qpid.Proton.Codec.Decoders.ProtonDecoderState.
void Apache.Qpid.Proton.Codec.IDecoderState.Reset | ( | ) |
Resets the decoder after a complete decode operation freeing any held resources and preparing for a new decode operation.
Implemented in Apache.Qpid.Proton.Codec.Decoders.ProtonDecoderState.
|
get |
Gets the IDecoder instance that was used when creating this decoder state object.
Implemented in Apache.Qpid.Proton.Codec.Decoders.ProtonDecoderState.