mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
more tweaks ... move base64 encoding to shared private function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38954 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8e3bc2f56b
commit
afa642aa1f
6 changed files with 94 additions and 101 deletions
|
@ -593,5 +593,13 @@ NSUInteger
|
|||
GSPrivateThreadID()
|
||||
GS_ATTRIB_PRIVATE;
|
||||
|
||||
/** Function to base64 encode data. The destination buffer must be of
|
||||
* size (((length + 2) / 3) * 4) or more.
|
||||
*/
|
||||
void
|
||||
GSPrivateEncodeBase64(const uint8_t *src, NSUInteger length, uint8_t *dst)
|
||||
GS_ATTRIB_PRIVATE;
|
||||
|
||||
|
||||
#endif /* _GSPrivate_h_ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue