Sha256: a5b5947f8f998cd39808410c6d0d36c4da3b50af4aaea82a17827edab418922b

Contents?: true

Size: 400 Bytes

Versions: 23

Compression:

Stored size: 400 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

23 entries across 23 versions & 1 rubygems

Version Path
ox-2.14.14 ext/ox/base64.h
ox-2.14.13 ext/ox/base64.h
ox-2.14.12 ext/ox/base64.h
ox-2.14.11 ext/ox/base64.h
ox-2.14.10 ext/ox/base64.h
ox-2.14.9 ext/ox/base64.h
ox-2.14.8 ext/ox/base64.h
ox-2.14.7 ext/ox/base64.h
ox-2.14.6 ext/ox/base64.h
ox-2.14.5 ext/ox/base64.h
ox-2.14.4 ext/ox/base64.h
ox-2.14.3 ext/ox/base64.h
ox-2.14.2 ext/ox/base64.h
ox-2.14.1 ext/ox/base64.h
ox-2.14.0 ext/ox/base64.h
ox-2.13.4 ext/ox/base64.h
ox-2.13.3 ext/ox/base64.h
ox-2.13.2 ext/ox/base64.h
ox-2.13.1 ext/ox/base64.h
ox-2.12.1 ext/ox/base64.h