blob contains invalid data or not enough data is available to determine the size).
DBusMessage.bytesNeeded
ptrdiff_t bytesNeeded(ubyte[] blob)Utility function to calculate how many bytes are needed to completely deserialize the D-Bus message stored at blob.
Parameters
blob | A blob representing a binary D-Bus message. |
Returns
Number of bytes needed or -1 if error is set (e.g. if
Throws
[ErrorWrap]