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

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_StreamReader_iface class


GetLength function

Gets the length of a string/binary value.

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

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

  • The number of characters or bytes for string values.