s-u / base64enc Goto Github PK
View Code? Open in Web Editor NEWR tools for base64 encoding
R tools for base64 encoding
I'm confused by the license info at "GPL-2 | GPL-3."
Edit: I think this means "or"
Hi Simon,
I have been using your R package, base64enc (version 0.1-3), and like it. Thank you very much for writing and sharing it!
However, I came across a problem, where invalid base64 strings (e.g. “u” or “aGVsbG8sd29ybGQh=”) are successfully and silently processed by base64decode(). In my code, I therefore had to use this regular expression (adapted from http://stackoverflow.com/a/8571649) to validate the strings before decoding them:
^(([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==))?$`
May I suggest that you add an option "strict" to base64decode() (defaulting to FALSE for backward compatibility) to detect and report malformed base64 strings?
Best,
Florent
Trying to do this via R rather than perl, R chokes on the "\000.........\000......."
part. (perl does fine)
How can I leverage your package to convert a base64 variable into a png/jpeg file in R
Hi,
The latest CPAN release (and current development code I believe) simply mention Simon's email address and the rforge website (which does not seem to have a bug tracker). Github is mentioned nowhere. Therefore, most users do not know that there is a bugtracker (Github) and will just send an email, which I believe is not the intent or the best way to proceed.
So, perhaps update the DESCRIPTION file with the Github URL?
Best,
Florent
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.