company logo

Binary :: fromInstance - Copy binary data from instance

The function copies binary data from the instance area of the property handle passed in cProperty. When the binary data block is not empty, it is cleared before copying. Instance data is copied with the instance size defined for the property handle.

The function returns the size of data copied. When the property handle is not valid or no instance is selected in the property handle, the function throws an exception.

Implementation details

Binary  :: fromInstance ( odaba::Property &cProperty )
  • cProperty - Property reference

    A property handle refers to a (usually) opened property. Invalid properties may cause an exception.