Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • zbus zbus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 86
    • Issues 86
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dbusdbus
  • zbuszbus
  • Merge requests
  • !472

Allow constructing message bodies from arbitrary bytes

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jimmy Hartzell requested to merge jhartzell42/zbus:jhartzell/genericBuild into main Feb 07, 2022
  • Overview 36
  • Commits 1
  • Pipelines 21
  • Changes 1

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 Feb 08, 2022 by Jimmy Hartzell
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: jhartzell/genericBuild