Binary :: operator= - Assign binary data block
The function assigns right hand operand to the left hand binary data block.
Return value: Binary data block handle ( odaba::Binary & )
Constant reference to a binary data block handle, which may contain binary data up to 2 GB.
Implementation overview
- Assign binary data block
Binary :: operator= ( cBinary ) - Assign string data to data block
Binary :: operator= ( sValue )
Implementation details
-
Assign binary data block
odaba::Binary & Binary  :: operator= ( odaba::Binary &cBinary )
The method assigns the binary data block passed in cBinary to the calling binary data block handle (by reference). If cBinaryis null (isNull()), the calling string will be set to null, too.
- cBinary
- Binary data block handle
Constant reference to a binary data block handle, which may contain binary data up to 2 GB.
to list
- cBinary
- Binary data block handle
-
Assign string data to data block
odaba::Binary & Binary  :: operator= ( odaba::String &sValue )
The function allows converting string data into a binary data block by copying data passed in the string value sValue to the binary data block with the length of the string (lengthInBytes()). If sValue is null (isNull()), the calling string will be set to null, too.
- sValue - String value
to list

