Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | List of all members
direct_bt::TOctetSlice Class Reference

#include <OctetTypes.hpp>

Collaboration diagram for direct_bt::TOctetSlice:

Public Member Functions

 TOctetSlice (const TOctets &buffer_, const jau::nsize_t offset_, const jau::nsize_t size_)
 
constexpr jau::nsize_t getSize () const noexcept
 
constexpr jau::nsize_t getOffset () const noexcept
 
const TOctetsgetParent () const noexcept
 
uint8_t get_uint8 (const jau::nsize_t i) const
 
constexpr uint8_t get_uint8_nc (const jau::nsize_t i) const noexcept
 
uint16_t get_uint16 (const jau::nsize_t i) const
 
constexpr uint16_t get_uint16_nc (const jau::nsize_t i) const noexcept
 
uint8_t const * get_ptr (const jau::nsize_t i) const
 
constexpr uint8_t const * get_ptr_nc (const jau::nsize_t i) const noexcept
 
std::string toString () const noexcept
 

Detailed Description

Definition at line 398 of file OctetTypes.hpp.

Constructor & Destructor Documentation

◆ TOctetSlice()

direct_bt::TOctetSlice::TOctetSlice ( const TOctets buffer_,
const jau::nsize_t  offset_,
const jau::nsize_t  size_ 
)
inline

Definition at line 406 of file OctetTypes.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ get_ptr()

uint8_t const* direct_bt::TOctetSlice::get_ptr ( const jau::nsize_t  i) const
inline

Definition at line 432 of file OctetTypes.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_ptr_nc()

constexpr uint8_t const* direct_bt::TOctetSlice::get_ptr_nc ( const jau::nsize_t  i) const
inlineconstexprnoexcept

Definition at line 435 of file OctetTypes.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_uint16()

uint16_t direct_bt::TOctetSlice::get_uint16 ( const jau::nsize_t  i) const
inline

Definition at line 425 of file OctetTypes.hpp.

Here is the call graph for this function:

◆ get_uint16_nc()

constexpr uint16_t direct_bt::TOctetSlice::get_uint16_nc ( const jau::nsize_t  i) const
inlineconstexprnoexcept

Definition at line 428 of file OctetTypes.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_uint8()

uint8_t direct_bt::TOctetSlice::get_uint8 ( const jau::nsize_t  i) const
inline

Definition at line 418 of file OctetTypes.hpp.

Here is the call graph for this function:

◆ get_uint8_nc()

constexpr uint8_t direct_bt::TOctetSlice::get_uint8_nc ( const jau::nsize_t  i) const
inlineconstexprnoexcept

Definition at line 421 of file OctetTypes.hpp.

Here is the call graph for this function:

◆ getOffset()

constexpr jau::nsize_t direct_bt::TOctetSlice::getOffset ( ) const
inlineconstexprnoexcept

Definition at line 415 of file OctetTypes.hpp.

Here is the caller graph for this function:

◆ getParent()

const TOctets& direct_bt::TOctetSlice::getParent ( ) const
inlinenoexcept

Definition at line 416 of file OctetTypes.hpp.

Here is the caller graph for this function:

◆ getSize()

constexpr jau::nsize_t direct_bt::TOctetSlice::getSize ( ) const
inlineconstexprnoexcept

Definition at line 414 of file OctetTypes.hpp.

Here is the caller graph for this function:

◆ toString()

std::string direct_bt::TOctetSlice::toString ( ) const
inlinenoexcept

Definition at line 439 of file OctetTypes.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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