Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
frame.cc File Reference
#include "symbian/agent/frame.h"
#include <algorithm>
#include "absl/status/status.h"

Namespaces

namespace  symbian
 
namespace  symbian::agent
 

Functions

absl::StatusOr< std::size_t > symbian::agent::DecodeFrameLength (std::span< const std::uint8_t > prefix, std::size_t maximum_frame_bytes=kMaximumFrameBytes)
 Validate a complete four-byte network-order prefix before allocation.
 
absl::StatusOr< std::string > symbian::agent::EncodeFrame (std::span< const std::uint8_t > payload, std::size_t maximum_frame_bytes=kMaximumFrameBytes)
 Encode one already validated MessagePack payload for an authenticated transport.