Class Base64.Encoder

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

public static final class Base64.Encoder extends Object
java.util.Base64.Encoder.
  • Method Details

    • withoutPadding

      public Base64.Encoder withoutPadding()
      The same encoding without the = that fills the last group.
    • encode

      public byte[] encode(byte[] src)
    • encode

      public int encode(byte[] src, byte[] dst)
      Encodes into dst, which must be large enough, and answers how many bytes were written.
    • encodeToString

      public String encodeToString(byte[] src)