Binary :: assign - Assign binary data block
The function allows assigning data to a binary data block. When the binary data block already contains data, this will be overwritten completely.
Constant reference to a binary data block handle, which may contain binary data up to 2 GB.
Implementation overview
- Assign binary data block
Binary :: assign ( cBinary ) - Assign string data to data block
Binary :: assign ( sValue )
Implementation details
-
Assign binary data block
odaba::Binary & Binary  :: assign ( 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  :: assign ( 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

