00001 00021 int encodeChunk(const struct chunk *c, uint8_t *buff, int buff_len); 00022 00033 int decodeChunk(struct chunk *c, const uint8_t *buff, int buff_len);