Searched refs:unsignedIntToSignedByte (Results 1 – 4 of 4) sorted by relevance
27 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()
535 buf.append(Integer.toBinaryString(ZipUtil.unsignedIntToSignedByte(flags))).append(" "); in toString()
186 public static byte unsignedIntToSignedByte(final int i) { in unsignedIntToSignedByte() method in ZipUtil
206 assertEquals(expectedVal, ZipUtil.unsignedIntToSignedByte(unsignedVal)); in testUnsignedIntToSignedByte()214 ZipUtil.unsignedIntToSignedByte(-1); in testUnsignedIntToSignedByte()221 ZipUtil.unsignedIntToSignedByte(256); in testUnsignedIntToSignedByte()