GRPC Core
9.0.0
|
#include <grpc/support/port_platform.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/ext/transport/chttp2/transport/bin_decoder.h"
#include "src/core/lib/gpr/string.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_string_helpers.h"
Macros | |
#define | COMPOSE_OUTPUT_BYTE_0(input_ptr) |
#define | COMPOSE_OUTPUT_BYTE_1(input_ptr) |
#define | COMPOSE_OUTPUT_BYTE_2(input_ptr) (uint8_t)((decode_table[input_ptr[2]] << 6) | decode_table[input_ptr[3]]) |
Functions | |
size_t | grpc_chttp2_base64_infer_length_after_decode (const grpc_slice &slice) |
bool | grpc_base64_decode_partial (struct grpc_base64_decode_context *ctx) |
grpc_slice | grpc_chttp2_base64_decode (const grpc_slice &input) |
grpc_slice | grpc_chttp2_base64_decode_with_length (const grpc_slice &input, size_t output_length) |
#define COMPOSE_OUTPUT_BYTE_0 | ( | input_ptr | ) |
#define COMPOSE_OUTPUT_BYTE_1 | ( | input_ptr | ) |
#define COMPOSE_OUTPUT_BYTE_2 | ( | input_ptr | ) | (uint8_t)((decode_table[input_ptr[2]] << 6) | decode_table[input_ptr[3]]) |
bool grpc_base64_decode_partial | ( | struct grpc_base64_decode_context * | ctx | ) |
grpc_slice grpc_chttp2_base64_decode | ( | const grpc_slice & | input | ) |
grpc_slice grpc_chttp2_base64_decode_with_length | ( | const grpc_slice & | input, |
size_t | output_length | ||
) |
size_t grpc_chttp2_base64_infer_length_after_decode | ( | const grpc_slice & | slice | ) |