Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5764

Extra CTOR for TThriftBytesImpl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.21.0
    • Delphi - Library
    • None
    • Patch Available

    Description

      Currently TThriftBytesImpl only offers CTORs that accept TBytes.

      While this is a rather safe approach, in some use cases an extra "comfort" CTOR that directly accepts pointer and size removes the need to write potentially error prone code and/or the need for extra memory allocation.

      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: