Gamgee
You miserable little maggot. I'll stove your head in!
|
#include <cram_codecs.h>
Public Attributes | |
enum cram_encoding | codec |
cram_block * | out |
void(* | free )(struct cram_codec *codec) |
int(* | decode )(cram_slice *slice, struct cram_codec *codec, cram_block *in, char *out, int *out_size) |
int(* | encode )(cram_slice *slice, struct cram_codec *codec, char *in, int in_size) |
int(* | store )(struct cram_codec *codec, cram_block *b, char *prefix, int version) |
union { | |
cram_huffman_decoder huffman | |
cram_external_decoder external | |
cram_beta_decoder beta | |
cram_gamma_decoder gamma | |
cram_subexp_decoder subexp | |
cram_byte_array_len_decoder byte_array_len | |
cram_byte_array_stop_decoder byte_array_stop | |
cram_huffman_encoder e_huffman | |
cram_external_decoder e_external | |
cram_byte_array_stop_decoder e_byte_array_stop | |
cram_byte_array_len_encoder e_byte_array_len | |
cram_beta_decoder e_beta | |
}; | |
union { ... } |
cram_beta_decoder cram_codec::beta |
cram_byte_array_len_decoder cram_codec::byte_array_len |
cram_byte_array_stop_decoder cram_codec::byte_array_stop |
enum cram_encoding cram_codec::codec |
int(* cram_codec::decode)(cram_slice *slice, struct cram_codec *codec, cram_block *in, char *out, int *out_size) |
cram_beta_decoder cram_codec::e_beta |
cram_byte_array_len_encoder cram_codec::e_byte_array_len |
cram_byte_array_stop_decoder cram_codec::e_byte_array_stop |
cram_external_decoder cram_codec::e_external |
cram_huffman_encoder cram_codec::e_huffman |
int(* cram_codec::encode)(cram_slice *slice, struct cram_codec *codec, char *in, int in_size) |
cram_external_decoder cram_codec::external |
void(* cram_codec::free)(struct cram_codec *codec) |
cram_gamma_decoder cram_codec::gamma |
cram_huffman_decoder cram_codec::huffman |
cram_block* cram_codec::out |
int(* cram_codec::store)(struct cram_codec *codec, cram_block *b, char *prefix, int version) |
cram_subexp_decoder cram_codec::subexp |