#include <internal.h>
Public Member Functions | |
size_t | cap () const |
void | Clear () |
void | Consume (size_t len) |
uint8_t * | data () |
void | DidWrite (size_t len) |
void | DiscardConsumed () |
bool | empty () const |
bool | EnsureCap (size_t header_len, size_t new_cap) |
SSLBuffer & | operator= (const SSLBuffer &)=delete |
Span< uint8_t > | remaining () |
size_t | size () const |
Span< uint8_t > | span () |
SSLBuffer () | |
SSLBuffer (const SSLBuffer &)=delete | |
~SSLBuffer () | |
Private Attributes | |
uint8_t * | buf_ = nullptr |
bool | buf_allocated_ = false |
uint16_t | cap_ = 0 |
uint8_t | inline_buf_ [SSL3_RT_HEADER_LENGTH] |
uint16_t | offset_ = 0 |
uint16_t | size_ = 0 |
Definition at line 1213 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
inline |
Definition at line 1215 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
inline |
Definition at line 1216 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
inline |
Definition at line 1224 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
void SSLBuffer::Clear | ( | ) |
Definition at line 39 of file ssl_buffer.cc.
void SSLBuffer::Consume | ( | size_t | len | ) |
Definition at line 109 of file ssl_buffer.cc.
|
inline |
Definition at line 1221 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
void SSLBuffer::DidWrite | ( | size_t | len | ) |
Definition at line 102 of file ssl_buffer.cc.
void SSLBuffer::DiscardConsumed | ( | ) |
Definition at line 118 of file ssl_buffer.cc.
|
inline |
Definition at line 1223 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
bool SSLBuffer::EnsureCap | ( | size_t | header_len, |
size_t | new_cap | ||
) |
Definition at line 50 of file ssl_buffer.cc.
Definition at line 1228 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
inline |
Definition at line 1222 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
Definition at line 1226 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
private |
Definition at line 1256 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
Definition at line 1267 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
private |
Definition at line 1262 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
private |
Definition at line 1264 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
private |
Definition at line 1258 of file third_party/boringssl-with-bazel/src/ssl/internal.h.
|
private |
Definition at line 1260 of file third_party/boringssl-with-bazel/src/ssl/internal.h.