nativePtr property
Converts the payload to a Dart string.
Throws StateError if this ZBytes has been disposed. Throws ZenohException if the conversion fails. Internal: returns the native pointer for use by Session.put/putBytes.
Implementation
Pointer<Void> get nativePtr {
_ensureNotDisposed();
_ensureNotConsumed();
return _ptr;
}