Sha256: 01523d837ce8eb572c46890e10ca604d3a8bb3281c113bfb688e97beb4f3365a

Contents?: true

Size: 377 Bytes

Versions: 6

Compression:

Stored size: 377 Bytes

Contents

/* base64.h
 * Copyright (c) 2011, Peter Ohler
 * All rights reserved.
 */

#ifndef BASE64_H
#define BASE64_H

typedef unsigned char uchar;

#define b64_size(len) ((len + 2) / 3 * 4)

extern unsigned long b64_orig_size(const char *text);

extern void to_base64(const uchar *src, int len, char *b64);
extern void from_base64(const char *b64, uchar *str);

#endif /* BASE64_H */

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ox-2.14.20 ext/ox/base64.h
ox-2.14.19 ext/ox/base64.h
ox-2.14.18 ext/ox/base64.h
ox-2.14.17 ext/ox/base64.h
ox-2.14.16 ext/ox/base64.h
ox-2.14.15 ext/ox/base64.h