Back to Site
Loading...
Searching...
No Matches
librats::framer::Block Struct Reference

#include <frame.h>

Public Types

enum  Status { Ok , Incomplete , Error }
 

Public Attributes

enum librats::framer::Block::Status status = Incomplete
 
size_t consumed = 0
 bytes to consume from the buffer (when Ok)
 
ByteView body {}
 the block body (when Ok); views the input
 

Detailed Description

Definition at line 73 of file frame.h.

Member Enumeration Documentation

◆ Status

Enumerator
Ok 
Incomplete 
Error 

Definition at line 74 of file frame.h.

Member Data Documentation

◆ body

ByteView librats::framer::Block::body {}

the block body (when Ok); views the input

Definition at line 76 of file frame.h.

◆ consumed

size_t librats::framer::Block::consumed = 0

bytes to consume from the buffer (when Ok)

Definition at line 75 of file frame.h.

◆ status

enum librats::framer::Block::Status librats::framer::Block::status = Incomplete

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