interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / base85.h

16 lines · 461 bytes Raw Blame History
1#ifndef BASE85_H
2#define BASE85_H
3
4/*
5 * We pick 52, a multiple of 4 so there are no partial groups and it
6 * fits in the A-Za-z length prefix encoding.
7 */
8#define BASE85_CHUNK_SIZE 52
9
10typedef void each_encoded_line_fn(char *line, int len, void *cb_data);
11
12int decode_85(char *dst, const char *line, int linelen);
13void chunk_and_encode85(const unsigned char *data, unsigned long len,
14 each_encoded_line_fn output, void *output_data);
15
16#endif /* BASE85_H */