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

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

 

GetStringChunk function

Gets a string chunk from current StreamReader offset by copying buffer_len bytes in to buffer str.

Syntax
bool UltraLite_StreamReader_iface::GetStringChunk(
  char * str,
  size_t buffer_len,
  size_t * len_retn,
  bool * morebytes
)
Parameters
  • str   A pointer to an array of characters.

  • buffer_len   The length of the buffer, or array. The buffer_len must be greater than or equal to 0.

  • len_retn   An output parameter. The length returned.

  • morebytes   An output parameter. True if there are more characters to read.

Remarks

The characters are read from where the last read left off unless you use SetReadPosition function.