docs: public static long bytesToLong(byte[] bytes, int offset) {
          long result = 0x0;
          for (int i = offset; i < offset + 8; ++i) {
              result = result << 8;
              result |= (bytes[i] & 0x00000000000000FFl);
          }
          return result;
      }