Utility class that represents a two byte integer with conversion
rules for the big endian byte order of ZIP files.
author: Stefan Bodewig version: $Revision: 1.1 $
Constructor Summary
public
ZipShort(int value) Create instance from a number.
public
ZipShort(byte[] bytes) Create instance from bytes.
public
ZipShort(byte[] bytes, int offset) Create instance from the two bytes starting at offset.
Method Summary
public boolean
equals(Object o) Override to make two instances with same value equal.
public byte[]
getBytes() Get value as two bytes in big endian byte order.