|
| | TtmlDataPacket (std::uint32_t channelId, std::uint32_t counter, std::int64_t dataOffset, std::vector< std::uint8_t > &&dataBuffer) |
| |
|
| Packet (std::uint32_t counter) |
| |
|
const uint32_t | getType () |
| |
|
const std::vector< uint8_t > & | getBytes () |
| |
|
const std::uint32_t | getCounter () |
| |
|
|
static std::string | getTypeString (uint32_t type) |
| |
| enum | PacketType : std::uint32_t |
| |
|
std::vector< uint8_t > & | getBuffer () |
| |
|
void | append32 (std::uint32_t value) |
| |
|
void | append64 (std::int64_t value) |
| |
|
void | appendType (PacketType type) |
| |
|
std::vector< uint8_t > | m_buffer |
| |
|
std::uint32_t | m_counter |
| |
Definition at line 54 of file TtmlPacket.hpp.
◆ TtmlDataPacket()
| TtmlDataPacket::TtmlDataPacket |
( |
std::uint32_t |
channelId, |
|
|
std::uint32_t |
counter, |
|
|
std::int64_t |
dataOffset, |
|
|
std::vector< std::uint8_t > && |
dataBuffer |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| channelId | Packet channelId. |
| counter | Packet counter. |
| dataOffset | Data offset if needed |
| dataBuffer | Packet data. |
Definition at line 70 of file TtmlPacket.hpp.
The documentation for this class was generated from the following file: