src/core/thread/network_data.hpp
explicit NetworkData(Instance &aInstance, const uint8_t *aTlvs = nullptr, uint8_t aLength = 0)
        : InstanceLocator(aInstance)
        , mTlvs(aTlvs)
        , mLength(aLength)
    {
    }
/**
     * This constructor initializes the `NetworkData` from a given pointer to a buffer and length.
     *
     * @param[in] aInstance     A reference to the OpenThread instance.
     * @param[in] aTlvs         A pointer to the buffer containing the TLVs.
     * @param[in] aLength       The length (number of bytes) of @p aTlvs buffer.
     *
     */
This constructor initializes the `NetworkData` from a given pointer to a buffer and length.
@param[in] aInstance     A reference to the OpenThread instance.
@param[in] aTlvs         A pointer to the buffer containing the TLVs.
@param[in] aLength       The length (number of bytes) of @p aTlvs buffer.
This constructor initializes the ` NetworkData ` from a given pointer to a buffer and length . @param [ in ] aInstance A reference to the OpenThread instance . @param [ in ] aTlvs A pointer to the buffer containing the TLVs . @param [ in ] aLength The length ( number of bytes ) of @p aTlvs buffer .
explicit NetworkData(Instance &aInstance, const uint8_t *aTlvs = nullptr, uint8_t aLength = 0)
        : InstanceLocator(aInstance)
        , mTlvs(aTlvs)
        , mLength(aLength)
    {
    }
explicit NetworkData ( Instance & aInstance , const uint8_t * aTlvs = nullptr , uint8_t aLength = 0 ) : InstanceLocator ( aInstance ) , mTlvs ( aTlvs ) , mLength ( aLength ) { }
This constructor initializes the `NetworkData` from a given pointer to a buffer and length.
This constructor initializes the ` NetworkData ` from a given pointer to a buffer and length .