Uses of Class
java.io.UTFDataFormatException

Packages that use UTFDataFormatException
Package Description
java.nio.charset  
  • Uses of UTFDataFormatException in java.nio.charset

    Methods in java.nio.charset that throw UTFDataFormatException
    Modifier and Type Method Description
    static long ModifiedUtf8.countBytes​(String s, boolean shortLength)
    Returns the number of bytes the modified UTF-8 representation of 's' would take.
    static String ModifiedUtf8.decode​(byte[] in, char[] out, int offset, int utfSize)
    Decodes a byte array containing modified UTF-8 bytes into a string.
    static byte[] ModifiedUtf8.encode​(String s)
    Returns an array containing the modified UTF-8 form of s, using a big-endian 16-bit length.