summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-07-09 13:04:10 -0500
committerEdward Thomson <ethomson@github.com>2016-05-26 13:01:04 -0500
commit5b78dbdbf30d863760936ee6755dfd3db951c1e3 (patch)
tree7bd092d241c58583ba6ef7d8f9973feac25163ce /src/buffer.h
parent3149ff6f663bf234679e02976d160917a6c70261 (diff)
downloadlibgit2-5b78dbdbf30d863760936ee6755dfd3db951c1e3.tar.gz
git_buf: decode base85 inputs
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index d446e0487..2be299b14 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -185,6 +185,8 @@ int git_buf_decode_base64(git_buf *buf, const char *base64, size_t len);
/* Write data as "base85" encoded in buffer */
int git_buf_encode_base85(git_buf *buf, const char *data, size_t len);
+/* Decode the given "base85" and write the result to the buffer */
+int git_buf_decode_base85(git_buf *buf, const char *base64, size_t len, size_t output_len);
/*
* Insert, remove or replace a portion of the buffer.