Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2447

Add new internal API pn_buffer_free_memory to get direct access to unused memory in buffer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • proton-c-0.37.0
    • proton-c
    • None

    Description

      Using pn_buffer_t is a little bit hackish, but is the simplest current way to manage a variable sized (resizeable) buffer in proton. It is missing a direct way top get the byte span of the un used memory.
      This change adds that API.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: