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 » ULValue class


GetBinary function

Retrieves the current value into a binary buffer, casting as required.

void ULValue::GetBinary(
  p_ul_binary bin,
  size_t len
  • bin   The binary structure to receive bytes.

  • len   The length of the buffer.


If the buffer is too small, then the value is truncated. Up to len characters are copied to the given buffer.