Skip to content

Struct SYN_Stream

ClassList > SYN_Stream

Cooperative byte stream — ringbuf with readability awareness. More...

  • #include <syn_stream.h>

Public Attributes

Type Name
bool delim_en
uint8_t delimiter
SYN_RingBuf rb
size_t threshold

Detailed Description

All fields are considered private. Use the API functions below.

Public Attributes Documentation

variable delim_en

bool SYN_Stream::delim_en;

true if delimiter mode is active


variable delimiter

uint8_t SYN_Stream::delimiter;

Delimiter byte for line mode


variable rb

SYN_RingBuf SYN_Stream::rb;

Underlying ring buffer (composition)


variable threshold

size_t SYN_Stream::threshold;

Readable when count >= this (0 = any)



The documentation for this class was generated from the following file src/syntropic/util/syn_stream.h