If the binary data block is not valid, the method throws an exception. The method is implemented for C++, only.