OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::BufferStream Class Reference

#include <bufstream.hpp>

Inheritance diagram for openvpn::BufferStream:
[legend]
Collaboration diagram for openvpn::BufferStream:
[legend]

Public Member Functions

 BufferStream (Buffer &buffer)
 

Protected Member Functions

std::streamsize xsputn (const char *s, std::streamsize n) override
 
int overflow (int c=EOF) override
 

Private Attributes

Bufferbuf
 

Detailed Description

Definition at line 21 of file bufstream.hpp.

Constructor & Destructor Documentation

◆ BufferStream()

openvpn::BufferStream::BufferStream ( Buffer buffer)
inline

Definition at line 24 of file bufstream.hpp.

Member Function Documentation

◆ overflow()

int openvpn::BufferStream::overflow ( int  c = EOF)
inlineoverrideprotected

Definition at line 46 of file bufstream.hpp.

◆ xsputn()

std::streamsize openvpn::BufferStream::xsputn ( const char *  s,
std::streamsize  n 
)
inlineoverrideprotected

Definition at line 40 of file bufstream.hpp.

Member Data Documentation

◆ buf

Buffer& openvpn::BufferStream::buf
private

Definition at line 57 of file bufstream.hpp.


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