Sha256: 1f378d3c0bb2860c0718b0c671350bd9ac7ed60f67ce4fe13c8d07553d3b122b
Contents?: true
Size: 507 Bytes
Versions: 4
Compression:
Stored size: 507 Bytes
Contents
#include "b64/cdecode.h" #include "b64/cencode.h" long base64_decode(char *to, char *from, unsigned int len) { base64_decodestate state; base64_init_decodestate(&state); return base64_decode_block(from, len, to, &state); } long base64_encode(char *to, char *from, unsigned int len) { base64_encodestate state; int size; base64_init_encodestate(&state); size = base64_encode_block(from, len, to, &state); size+= base64_encode_blockend(to + size, &state); return size; }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
swfmill-0.0.6 | ext/base64.c |
swfmill-0.0.5 | ext/base64.c |
swfmill-0.0.4 | ext/base64.c |
swfmill-0.0.3 | ext/base64.c |