5#include "system/array.h"
6#include "system/object.h"
8#include "encoder_fallback_buffer.h"
46 virtual ASPOSECPP_SHARED_API
int GetByteCount(
const char_t *chars,
int count,
bool flush);
64 virtual ASPOSECPP_SHARED_API
int GetBytes(
const char_t *chars,
int charCount, uint8_t *bytes,
int byteCount,
bool flush);
67 virtual ASPOSECPP_SHARED_API
void Reset();
80 virtual ASPOSECPP_SHARED_API
void Convert(
ArrayPtr<char_t> chars,
int charIndex,
int charCount,
ArrayPtr<uint8_t> bytes,
int byteIndex,
int byteCount,
bool flush,
int &charsUsed,
int &bytesUsed,
bool &completed);
90 virtual ASPOSECPP_SHARED_API
void Convert(
const char_t *chars,
int charCount, uint8_t *bytes,
int byteCount,
bool flush,
int &charsUsed,
int &bytesUsed,
bool &completed);
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Encapsulates encoding character sequence into byte sequence. Objects of this class should only be all...
Definition: encoder.h:18
void set_Fallback(const EncoderFallbackPtr &value)
Sets error handling fallback.
virtual void Reset()
Cleans encoder internal state.
virtual int GetByteCount(const char_t *chars, int count, bool flush)
Gets the number of bytes needed to encode a buffer.
virtual int GetBytes(const char_t *chars, int charCount, uint8_t *bytes, int byteCount, bool flush)
Get the bytes that result from encoding a buffer.
virtual int GetByteCount(ArrayPtr< char_t > chars, int index, int count, bool flush)
Gets the number of bytes needed to encode a buffer.
EncoderFallbackPtr get_Fallback() const
Gets error handling fallback.
Definition: encoder.h:26
virtual void Convert(const char_t *chars, int charCount, uint8_t *bytes, int byteCount, bool flush, int &charsUsed, int &bytesUsed, bool &completed)
Converts characters to bytes.
virtual int GetBytes(ArrayPtr< char_t > chars, int charIndex, int charCount, ArrayPtr< uint8_t > bytes, int byteIndex, bool flush)
Get the bytes that result from encoding a buffer.
virtual void Convert(ArrayPtr< char_t > chars, int charIndex, int charCount, ArrayPtr< uint8_t > bytes, int byteIndex, int byteCount, bool flush, int &charsUsed, int &bytesUsed, bool &completed)
Converts characters to bytes.
const EncoderFallbackBufferPtr get_FallbackBuffer() const
Gets fallback buffer.
@ Text
Defines color adjustment information for text.
Definition: db_command.h:9