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.