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.