code: public static int getWKID(BytesWritable geomref){
  		ByteBuffer bb = ByteBuffer.wrap(geomref.getBytes());
  		return bb.getInt(0);
  	}
docs: Gets the WKID for the given hive geometry bytes
  
  @param geomref reference to hive geometry bytes
  @return WKID set in the first 4 bytes of the hive geometry bytes