Searched refs:fromAscii (Results 1 – 5 of 5) sorted by relevance
53 assertEquals("", Utility.fromAscii(IOUtils.toByteArray(ImapString.EMPTY.getAsStream()))); in testEmpty()69 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in testBasics()151 assertEquals(content, Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in doLiteralTest()
60 return Utility.fromAscii(mData); in getString()
90 return Utility.fromAscii(IOUtils.toByteArray(getAsStream())); in getString()
529 public static String fromAscii(byte[] b) { in fromAscii() method in Utility
472 return Utility.fromAscii(b); in encodeFolderName()