Home
last modified time | relevance | path

Searched refs:toAsciiBytes (Results 1 – 7 of 7) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DArchiveUtilsTest.java112 byte[] byteArray = ArchiveUtils.toAsciiBytes("SOCKET"); in testToAsciiBytes()
147 … assertEquals(inputString, ArchiveUtils.toAsciiString(ArchiveUtils.toAsciiBytes(inputString))); in asciiToByteAndBackOK()
151 …assertFalse(inputString.equals(ArchiveUtils.toAsciiString(ArchiveUtils.toAsciiBytes(inputString)))… in asciiToByteAndBackFail()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveOutputStream.java252 out.write(ArchiveUtils.toAsciiBytes(MAGIC_NEW)); in writeHeader()
257 out.write(ArchiveUtils.toAsciiBytes(MAGIC_NEW_CRC)); in writeHeader()
262 out.write(ArchiveUtils.toAsciiBytes(MAGIC_OLD_ASCII)); in writeHeader()
537 final byte[] b = ArchiveUtils.toAsciiBytes(tmpStr); in writeAsciiLong()
/external/apache-http/src/org/apache/commons/codec/binary/
DBinaryCodec.java86 return toAsciiBytes(raw); in encode()
227 public static byte[] toAsciiBytes(byte[] raw) { in toAsciiBytes() method in BinaryCodec
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveInputStream.java102 final byte[] expected = ArchiveUtils.toAsciiBytes(ArArchiveEntry.HEADER); in getNextArEntry()
137 final byte[] expected = ArchiveUtils.toAsciiBytes(ArArchiveEntry.TRAILER); in getNextArEntry()
DArArchiveOutputStream.java67 final byte [] header = ArchiveUtils.toAsciiBytes(ArArchiveEntry.HEADER); in writeArchiveHeader()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DArchiveUtils.java102 public static byte[] toAsciiBytes(final String inputString){ in toAsciiBytes() method in ArchiveUtils
/external/apache-http/api/
Dcurrent.txt461 method @Deprecated public static byte[] toAsciiBytes(byte[]);