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 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_StreamReader_iface 类

 

SetReadPosition 函数

在数据中设置偏移以便进行下一次读取。

语法
bool UltraLite_StreamReader_iface::SetReadPosition(
  size_t offset,
  bool offset_in_chars
)
参数
  • offset   偏移。

  • offset_in_chars   如果偏移以字符为单位,则为 true。如果偏移以字节为单位,则为 False。