Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API Reference » UltraLite_StreamReader_iface class

 

GetLength function

Synopsis
size_t UltraLite_StreamReader_iface::GetLength(
  bool fetch_as_chars
)
Parameters
  • fetch_as_chars¬†¬† False for byte length, true for char length.

Remarks

Gets the length of a string/binary value.

Returns
  • The number of bytes for binary values (fetch_as_chars is ignored for binaries).
  • The number of characters or bytes for string values.