Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/base85.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers 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 10 typedef void each_encoded_line_fn(char *line, int len, void *cb_data); 11 12 int decode_85(char *dst, const char *line, int linelen); 13 void chunk_and_encode85(const unsigned char *data, unsigned long len, 14 each_encoded_line_fn output, void *output_data); 15 16 #endif /* BASE85_H */