35 uint16_t m = size / 255;
40 return m * (2 + 255) + n * (2 +
remainder);
86 uint16_t m = size / 255;
88 for (uint16_t index = 0; index < m; index++)
98 for (uint8_t count = 0; count < length; count++)
111 for (uint8_t count = 0; count <
remainder; count++)
149 uint16_t length =
i.ReadU8();
189 uint16_t count = length;
200 for (uint16_t index = 0; index < count; index++)
237 if (
ieSize !=
a.GetSerializedSize())
248 a.Serialize(
hisIe.Begin());
iterator in a Buffer instance
void WriteU8(uint8_t data)
void Next()
go forward by one byte
automatically resized byte buffer
void AddAtStart(uint32_t start)
Buffer::Iterator Begin() const
void AddAtEnd(uint32_t end)
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Ptr< T > Create(Ts &&... args)
Create class instances by constructors with varying numbers of arguments and return them by Ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::ostream & operator<<(std::ostream &os, const Angles &a)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.