Botan  2.7.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::TLS::Record_Raw_Input Class Referencefinal

#include <tls_record.h>

Public Member Functions

size_t & get_consumed ()
 
const uint8_t *& get_data ()
 
size_t & get_size ()
 
bool is_datagram ()
 
 Record_Raw_Input (const uint8_t *data, size_t size, size_t &consumed, bool is_datagram)
 
void set_consumed (size_t consumed)
 

Detailed Description

Definition at line 125 of file tls_record.h.

Constructor & Destructor Documentation

◆ Record_Raw_Input()

Botan::TLS::Record_Raw_Input::Record_Raw_Input ( const uint8_t *  data,
size_t  size,
size_t &  consumed,
bool  is_datagram 
)
inline

Definition at line 128 of file tls_record.h.

130  : m_data(data), m_size(size), m_consumed(consumed),
131  m_is_datagram(is_datagram) {}

Member Function Documentation

◆ get_consumed()

size_t& Botan::TLS::Record_Raw_Input::get_consumed ( )
inline

Definition at line 137 of file tls_record.h.

137 { return m_consumed; }

◆ get_data()

const uint8_t*& Botan::TLS::Record_Raw_Input::get_data ( )
inline

Definition at line 133 of file tls_record.h.

133 { return m_data; }

◆ get_size()

size_t& Botan::TLS::Record_Raw_Input::get_size ( )
inline

Definition at line 135 of file tls_record.h.

135 { return m_size; }

◆ is_datagram()

bool Botan::TLS::Record_Raw_Input::is_datagram ( )
inline

Definition at line 140 of file tls_record.h.

Referenced by Botan::TLS::read_record().

140 { return m_is_datagram; }

◆ set_consumed()

void Botan::TLS::Record_Raw_Input::set_consumed ( size_t  consumed)
inline

Definition at line 138 of file tls_record.h.

138 { m_consumed = consumed; }

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