esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
ndnph::lp::FragmentHeader Class Reference

Fragment header fields. More...

#include <lp.hpp>

Inherited by ndnph::lp::Fragment.

Public Types

using MaxSize = std::integral_constant< size_t, 1+1+8+1+1+1+1+1+1 >
 Maximum encoded size. More...
 

Public Member Functions

uint64_t getSeqNumBase () const
 
void encodeTo (Encoder &encoder) const
 

Public Attributes

uint64_t seqNum = 0
 
uint8_t fragIndex = 0
 
uint8_t fragCount = 1
 

Detailed Description

Fragment header fields.

Member Typedef Documentation

◆ MaxSize

using ndnph::lp::FragmentHeader::MaxSize = std::integral_constant<size_t, 1 + 1 + 8 + 1 + 1 + 1 + 1 + 1 + 1>

Maximum encoded size.

Member Function Documentation

◆ encodeTo()

void ndnph::lp::FragmentHeader::encodeTo ( Encoder encoder) const
inline

◆ getSeqNumBase()

uint64_t ndnph::lp::FragmentHeader::getSeqNumBase ( ) const
inline

Member Data Documentation

◆ fragCount

uint8_t ndnph::lp::FragmentHeader::fragCount = 1

◆ fragIndex

uint8_t ndnph::lp::FragmentHeader::fragIndex = 0

◆ seqNum

uint64_t ndnph::lp::FragmentHeader::seqNum = 0

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