Skip to content

Allow constructing message bodies from arbitrary bytes

Jimmy Hartzell requested to merge jhartzell42/zbus:jhartzell/genericBuild into main

This adds build_raw_body, a method that takes a slice of raw bytes for the body rather than serializing the body through zvariant. zvariant is still used for the header. The method is unsafe, as it can be used to construct an invalid message.

Edited by Jimmy Hartzell

Merge request reports