Atitit. binary data ASCII notation, standardized with Base64 codec API design summary java PHP c#.net
1 . Base64 encoding, 1
sub-mode urlsafe or url unsafe 2
.2. Other binary data representations bin2hex () Span style= "Font-family:consolas; Color: #000000; font-size:10.5pt; " >quoted-printable ,uuencode 2
2 . Base64 Common API 2
2 . 1. ------------ decoding API 2
2 . 2. Decode (String s, outputstream out) 2
2 . 3. Base64 Decode_retbytearr (String s) 2
2 . 4. string decode (string s) 2
2 . 5. ---------------------- Coding API 2
2 . 6. based on a string, byte array,stream three modes ... 2
2 . 7. Php version base64_decode 3
3 . Atibase64 function Description 3
3 . 1. support urlsafe mode 3
3 . 2. supports custom input-output string text character set encoding mode 3
3 . 3. supports direct output byte array 3
3 . 4. supports streaming io, adapts to base64 encoding under oversized files 3
3 . 5. API compatible java PHP two modes 3
3 . 6. Multi-engine mode, effectively resolves class library conflicts 3
3 . 7. Custom base64 Code table function (temporarily in planning) 3
3 . 8. Cli and API SDK interface 3
4 . Common base64 class libraries 3
5 . Reference 3
1.Base64 encoding,
is the encoding method that we often use in our program development. It is a representation of binary data based on a 64 printable character. It is commonly used as a way to store and transfer binary data encoding methods! It is also a common encoding method for the MIME (Multipurpose Internet Mail Extension, mainly used as an e-mail standard) to represent binary data in a printable character! It just defines a way to transfer content with printable characters, and does not produce a new character set! Sometimes, after we learn the idea of conversion, we can actually combine our own actual needs, to construct some of their own interface definition coding methods. All right, let's take a look at it and switch ideas!
1.1.Sub-mode urlsafe Or URL unsafe
Case:C = Isurlsafe? '-': ' + '; Break;
Case:C = Isurlsafe? ' _ ': '/'; Break;
default: throw new runtimeexception ("Cannot h Appen. " );
author ::  nickname old Paws full name:: akbar al rapanui Attilax Akbar al Rapa Nui ) Kanji name: Ayron, email:[email protected]
1.2.additional binary data representationsBin2Hex () ,quoted-printable, UUencode
Quoted-printable encoding Introduction, encoding and decoding conversion-Cheng's blog. html
UUencode Code, UU code Introduction, UUencode encoding conversion principle, algorithm-Cheng blog. html
2.Base64 Common API 2.1.------------ decoding API 2.2.Decode (String s, outputstream out)2.3.Base64 Decode_retbytearr (String s)2.4. string decode (string s) 2.5.---------------------- Coding API 2.6.based on a string, byte array,stream three modes ...
2.7.Php version base64_decode 3.Atibase64 function Description 3.1.support urlsafe mode 3.2.supports custom input-output string text character set encoding mode3.3.supports direct output byte array3.4.supports streaming io, adapts to base64 encoding under oversized files3.5.API compatible java PHP two modes 3.6.Multi-engine mode, effectively resolves class library conflicts3.7.Custom base64 Code table function (temporarily in planning) 3.8.Cli and API SDK interface 4.Common base64 class libraries
Apache Common Codec
Jdk
5.Reference
Atitit. byte array goto string Base64 Base16 quoted-printable Coding attilax Summary of principle design
Atitit. Binary data ASCII notation, standardized with Base64 codec API design summary java PHP c#.net