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 If the buffer is too small, then the value is truncated.

Syntax
void ULValue::GetBinary(
  ul_byte * dst,
  size_t len,
  size_t * retr_len
)
Parameters
  • dst   The buffer to receive bytes.

  • len   The length of the buffer.

  • retr_len   An output parameter. The actual number of bytes returned.

Remarks

Up to len bytes are copied to the given buffer. The number of bytes actually copied is returned in retr_len.