Рет қаралды 2,969
This video covers a wide range of functionality and information. Please use this as a future reference for the things that you could possibly do with base-64 Strings.
It starts by explaining what base-64 strings are and then looks at a variety of ways that you can and can't generate them - from the Number.toString( ) method, to window.btoa( ), File inputs, FileReaders, and even the HTML5 Canvas.
Side Note: Did you know that you can also use a base-64 String as a background in your CSS?
Code GIST: gist.github.com/prof3ssorSt3v...