This PR allows direct access to the raw data payload field in the Frame class. This will allow optimizations where data might be copied out without requiring allocation of managed arrays. The generic Data method was also renamed to make it easier to recognize that it is producing a copy of the data rather than providing a view into the payload buffer.
This PR allows direct access to the raw data payload field in the
Frame
class. This will allow optimizations where data might be copied out without requiring allocation of managed arrays. The genericData
method was also renamed to make it easier to recognize that it is producing a copy of the data rather than providing a view into the payload buffer.