Interface StringCodec

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] decode​(java.lang.String encoded)
      Decode the provided encoded string.
      java.lang.String encode​(byte[] data)
      Encode the provided data.
    • Method Detail

      • decode

        byte[] decode​(java.lang.String encoded)
        Decode the provided encoded string.
        Parameters:
        encoded - the encoded string
        Returns:
        the decoded data
        Since:
        1.4.11
      • encode

        java.lang.String encode​(byte[] data)
        Encode the provided data.
        Parameters:
        data - the data to encode
        Returns:
        the data encoded as string
        Since:
        1.4.11