varint.hon commit avoid "write_in_full(fd, buf, len) != len" pattern (06f46f2)
   1#ifndef VARINT_H
   2#define VARINT_H
   3
   4extern int encode_varint(uintmax_t, unsigned char *);
   5extern uintmax_t decode_varint(const unsigned char **);
   6
   7#endif /* VARINT_H */