#include <grpc/support/port_platform.h>#include "src/core/ext/transport/chttp2/transport/bin_encoder.h"#include <stdint.h>#include <string.h>#include <grpc/support/log.h>#include "src/core/ext/transport/chttp2/transport/huffsyms.h"
Go to the source code of this file.
Classes | |
| struct | b64_huff_sym |
| struct | huff_out |
Functions | |
| static void | enc_add1 (huff_out *out, uint8_t a) |
| static void | enc_add2 (huff_out *out, uint8_t a, uint8_t b) |
| static void | enc_flush_some (huff_out *out) |
| grpc_slice | grpc_chttp2_base64_encode (const grpc_slice &input) |
| grpc_slice | grpc_chttp2_base64_encode_and_huffman_compress (const grpc_slice &input) |
| grpc_slice | grpc_chttp2_huffman_compress (const grpc_slice &input) |
Variables | |
| static const char | alphabet [] |
| static const b64_huff_sym | huff_alphabet [64] |
| static const uint8_t | tail_xtra [3] = {0, 2, 3} |
Definition at line 162 of file bin_encoder.cc.
Definition at line 152 of file bin_encoder.cc.
|
static |
Definition at line 145 of file bin_encoder.cc.
| grpc_slice grpc_chttp2_base64_encode | ( | const grpc_slice & | input | ) |
Definition at line 52 of file bin_encoder.cc.
| grpc_slice grpc_chttp2_base64_encode_and_huffman_compress | ( | const grpc_slice & | input | ) |
Definition at line 169 of file bin_encoder.cc.
| grpc_slice grpc_chttp2_huffman_compress | ( | const grpc_slice & | input | ) |
Definition at line 96 of file bin_encoder.cc.
|
static |
Definition at line 30 of file bin_encoder.cc.
|
static |
Definition at line 37 of file bin_encoder.cc.
Definition at line 50 of file bin_encoder.cc.