TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
BufferUTF8 Struct Reference
Inheritance diagram for BufferUTF8:
Buffer sBuffer

Public Member Functions

 BufferUTF8 (const cchar *apData, tU32 anSizeInBytes=0)
 
 BufferUTF8 (const gchar *apData, tU32 anSizeInBytes=0)
 
 BufferUTF8 (const xchar *apData, tU32 anSizeInBytes=0)
 
const ccharChars () const
 
- Public Member Functions inherited from Buffer
 Buffer ()
 
 ~Buffer ()
 
tBool IsEmpty () const
 
tU32 GetCapacity () const
 
tU32 GetSize () const
 
tPtr GetData () const
 
tBool IsAdopted () const
 
tBool SetCapacity (tU32 anNewCapacity)
 
void Clear ()
 
tBool Adopt (tPtr apData, tU32 anInitialSize)
 
tBool Reserve (tU32 anSize)
 
void Compact ()
 
tBool Resize (tU32 anSize)
 
tBool Append (tPtr apData, tU32 anSize)
 
tBool AppendUTF8 (const cchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF8ToUTF16 (const cchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF8ToUTF32 (const cchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF16 (const gchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF16ToUTF8 (const gchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF16ToUTF32 (const gchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF32 (const xchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF32ToUTF8 (const xchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
tBool AppendUTF32ToUTF16 (const xchar *apData, tU32 anSizeInBytes, tBool abAppendZero)
 
 niClassNoCopyAssign (Buffer)
 

Additional Inherited Members

- Public Attributes inherited from sBuffer
tPtr mpData
 
tU32 mnSize
 
tBool mbAdopted
 

Constructor & Destructor Documentation

BufferUTF8 ( const cchar apData,
tU32  anSizeInBytes = 0 
)
BufferUTF8 ( const gchar apData,
tU32  anSizeInBytes = 0 
)
BufferUTF8 ( const xchar apData,
tU32  anSizeInBytes = 0 
)

Member Function Documentation

const cchar* Chars ( ) const