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

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


Gets the length of a string/binary value.

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