GetStringChunk function

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

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

  • buffer_len   The length of the buffer.

  • len_retn   An output parameter. The length returned.

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

Remarks

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