code: public static Vector getRawShort(int[] data, int offset) throws Exception {
  		byte[] bytes = (byte[])getBits(data, 16, offset);
  		ByteBuffer bb = ByteBuffer.wrap(bytes);
  		bb.order(ByteOrder.LITTLE_ENDIAN);
  		int val = bb.getShort();
  		Vector v = new Vector();
  		v.add(new Integer(offset+16));
  		v.add(new Integer(val));
  		return v;
  	}
docs: Read a short value from a group of unsigned bytes
  
  @param data Array of unsigned bytes obtained from the DWG binary file
  @param offset The current bit offset where the value begins
  @throws Exception If an unexpected bit value is found in the DWG file. Occurs
  when we are looking for LwPolylines.
  @return Vector This vector has two parts. First is an int value that represents
  the new offset, and second is the short value