[Java]: Added toHex at offset into byte array and fromHex to BitUtil.