diff options
author | Russell Belfer <rb@github.com> | 2012-10-11 01:54:31 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-10-11 01:54:31 +0400 |
commit | 2d3579bea699847b560e99a5107b12eac8d172ad (patch) | |
tree | 0c72fd4dc5246c51ffc644f62d1f58d3d46804f3 /src/buffer.h | |
parent | 8ea05f3f8f3485d39ce4a867b353f45c4eebf54e (diff) |
Add git_buf_put_base64 to buffer API
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index 17922e408..94b7e0e22 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -154,4 +154,7 @@ bool git_buf_is_binary(const git_buf *buf); /* Unescape all characters in a buffer */ void git_buf_unescape(git_buf *buf); +/* Write data as base64 encoded in buffer */ +int git_buf_put_base64(git_buf *buf, const char *data, size_t len); + #endif |