Module java.base
Package java.util

Class Base64.Encoder

java.lang.Object
java.util.Base64.Encoder
Enclosing class:
Base64

public static class Base64.Encoder extends Object
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.

Instances of Base64.Encoder class are safe for use by multiple concurrent threads.

Unless otherwise noted, passing a null argument to a method of this class will cause a NullPointerException to be thrown.

If the encoded byte output of the needed size can not be allocated, the encode methods of this class will cause an OutOfMemoryError to be thrown.

Since:
1.8
See Also: