Interface IBase64

All Known Implementing Classes:
Base64, Base64

public interface IBase64
Interface for Base64 conversion implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    decode(String text)
    Decode a Base64 string to byte array
    encode(byte[] data)
    Encode a byte array to Base64 string.
  • Method Details

    • decode

      byte[] decode(String text)
      Decode a Base64 string to byte array
      Parameters:
      text - String to be converted.
      Returns:
      Byte array of converted data.
    • encode

      String encode(byte[] data)
      Encode a byte array to Base64 string.
      Parameters:
      data - The byte array to be converted.
      Returns:
      Text string of converted data.