Searched refs:toAsciiBytes (Results 1 – 7 of 7) sorted by relevance
112 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()
252 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()
86 return toAsciiBytes(raw); in encode()227 public static byte[] toAsciiBytes(byte[] raw) { in toAsciiBytes() method in BinaryCodec
102 final byte[] expected = ArchiveUtils.toAsciiBytes(ArArchiveEntry.HEADER); in getNextArEntry()137 final byte[] expected = ArchiveUtils.toAsciiBytes(ArArchiveEntry.TRAILER); in getNextArEntry()
67 final byte [] header = ArchiveUtils.toAsciiBytes(ArArchiveEntry.HEADER); in writeArchiveHeader()
102 public static byte[] toAsciiBytes(final String inputString){ in toAsciiBytes() method in ArchiveUtils
461 method @Deprecated public static byte[] toAsciiBytes(byte[]);