It encodes the specified byte array into a String using the Base64 encoding scheme. It encodes all bytes from the specified byte array using the Base64 encoding scheme, writing the resulting bytes to the given output byte array, starting at offset 0. The returned byte array is of the length of the resulting bytes. It encodes all bytes from the specified byte array into a newly-allocated byte array using the Base64 encoding scheme. It returns an input stream for decoding Base64 encoded byte stream. It decodes all bytes from the input byte buffer using the Base64 encoding scheme, writing the results into a newly-allocated ByteBuffer. Public ByteBuffer decode(ByteBuffer buffer) It decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into the given output byte array, starting at offset 0. It decodes a Base64 encoded String into a newly-allocated byte array using the Base64 encoding scheme. It decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into a newly-allocated output byte array. It returns a Base64.Encoder that encodes using the URL and Filename safe type base64 encoding scheme. Public static Base64.Encoder getUrlEncoder() It returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme with specified line length and line separators. Public static Base64.Encoder getMimeEncoder(int lineLength, byte lineSeparator) It Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme. Public static Base64.Encoder getMimeEncoder() It returns a Base64.Decoder that decodes using the MIME type base64 decoding scheme. Public static Base64.Decoder getMimeDecoder() It returns a Base64.Decoder that decodes using the URL and Filename safe type base64 encoding scheme. Public static Base64.Decoder getUrlDecoder() It returns a Base64.Encoder that encodes using the Basic type base64 encoding scheme. Public static Base64.Encoder getEncoder() It returns a Base64.Decoder that decodes using the Basic type base64 encoding scheme. Public static Base64.Decoder getDecoder() This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045. This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045. No line separator is present to the end of the encoded output. It uses the Base64 alphabet as specified in RFC 2045 for encoding and decoding operations. The output is mapped to MIME friendly format and represented in lines of no more than 76 characters each, and uses a carriage return ‘\r’ followed by a linefeed ‘\n’ as the line separator. The decoder rejects data that contains characters outside A-Za-z0-9 _. It uses the Base64 alphabet specified by Java in RFC 4648 for encoding and decoding operations. The encoder does not add any line feed in output, and the decoder rejects any character other than A-Za-z0-9 /. It uses the Base64 alphabet specified by Java in RFC 4648 and RFC 2045 for encoding and decoding operations.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |