Base64.encode

Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.

@param binaryData Array containing binary data to encodeToChars. @param isChunked if <code>true</code> this encoder will chunk the base64 output into 76 character blocks @return Base64-encoded data. @throws IllegalArgumentException Thrown when the input array needs an output array bigger than {@link Integer#MAX_VALUE}

  1. byte[] encode(byte[] pArray)
  2. byte[] encode(byte[] binaryData, bool isChunked)
    class Base64
    static
    byte[]
    encode
    (
    byte[] binaryData
    ,)

Meta