BT_Char16Buf_ Struct Reference

Data structure that encapsulates a buffer of 16-bit unsigned characters. More...

#include <bt_types.h>


Data Fields

BT_Char16buf
 Pointer to BT_Char16 buffer.
BT_UInt32 len
 Length of the string.


Detailed Description

This structure includes a pointer to a 16-bit Unicode character (encoded in UTF-16 and in the current platform's byte order) and a length.

The usage pattern for this structure is the following:

When passed to a function accepting data 'len' shall be the length of the data in the buffer. When passed to a function producing data 'len' shall be the length of the allocated space the function is permitted to fill, after the function call 'len' will be the length of the data produced.


Field Documentation

BT_Char16* BT_Char16Buf_::buf

Pointer to BT_Char16 buffer.

BT_UInt32 BT_Char16Buf_::len

Length of the string.


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

Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.