|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
One complete application frame carved out of a byte stream. More...
#include <fastmm/codecs/codec.hpp>
Public Member Functions | |
| bool | complete () const noexcept |
Public Attributes | |
| std::span< const std::byte > | payload |
| std::size_t | consumed = 0 |
| std::uint8_t | kind = 0 |
| protocol-specific tag (WS opcode, SoupBin packet type, ...) | |
One complete application frame carved out of a byte stream.
consumed is how many input bytes the framer used (frame + framing overhead); zero means "need more bytes".
|
inlinenoexcept |
| std::span<const std::byte> fastmm::codecs::FrameView::payload |
| std::size_t fastmm::codecs::FrameView::consumed = 0 |
| std::uint8_t fastmm::codecs::FrameView::kind = 0 |
protocol-specific tag (WS opcode, SoupBin packet type, ...)