company logo

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

Implementation details

  1. 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.

  2. to list
  3. 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
  4. to list