Home
last modified time | relevance | path

Searched refs:unsignedIntToSignedByte (Results 1 – 4 of 4) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DX7875_NewUnix.java27 import static org.apache.commons.compress.archivers.zip.ZipUtil.unsignedIntToSignedByte;
190 data[pos++] = unsignedIntToSignedByte(version); in getLocalFileDataData()
191 data[pos++] = unsignedIntToSignedByte(uidBytesLen); in getLocalFileDataData()
196 data[pos++] = unsignedIntToSignedByte(gidBytesLen); in getLocalFileDataData()
DX5455_ExtendedTimestamp.java535 buf.append(Integer.toBinaryString(ZipUtil.unsignedIntToSignedByte(flags))).append(" "); in toString()
DZipUtil.java186 public static byte unsignedIntToSignedByte(final int i) { in unsignedIntToSignedByte() method in ZipUtil
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipUtilTest.java206 assertEquals(expectedVal, ZipUtil.unsignedIntToSignedByte(unsignedVal)); in testUnsignedIntToSignedByte()
214 ZipUtil.unsignedIntToSignedByte(-1); in testUnsignedIntToSignedByte()
221 ZipUtil.unsignedIntToSignedByte(256); in testUnsignedIntToSignedByte()