Interface UTF8StreamDecoder


  • public interface UTF8StreamDecoder
    Interface for an external UTF8 Decoder that can be supplied by a client which implements custom decoding logic optimized for the application using the Codec.
    • Method Detail

      • decodeUTF8

        java.lang.String decodeUTF8​(java.io.InputStream utf8bytes)
        Decodes a String from the given UTF8 Bytes.
        Parameters:
        utf8bytes - A InputStream containing the UTF-8 encoded bytes.
        Returns:
        a new String that represents the decoded value.