10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
tenduke::utl::MutableDataSpan Class Referenceabstract

#include <MutableDataSpan.h>

Detailed Description

Extends DataSpan with mutable access to the underlying data.

This interface provides a mutable view of the data, allowing modification of the data.

Inheritance diagram for tenduke::utl::MutableDataSpan:
tenduke::utl::DataSpan tenduke::utl::BinaryData tenduke::utl::FixedSizeBinaryData tenduke::utl::SimpleBuffer

Public Member Functions

virtual unsigned char * data ()=0
 Returns a mutable view of the underlying data.
Public Member Functions inherited from tenduke::utl::DataSpan
virtual const unsigned char * data () const =0
 Returns a pointer to the beginning of the underlying sequence.
virtual std::size_t size_bytes () const =0
 Returns the size of the span in bytes.

Member Function Documentation

◆ data()

virtual unsigned char * tenduke::utl::MutableDataSpan::data ( )
pure virtual

Returns a mutable view of the underlying data.

This provides a writable view of the data, allowing modification of the data.

Returns
the mutable view

Implemented in BinaryData, and tenduke::utl::BinaryData.


The documentation for this class was generated from the following file: