docs: public static long readBytes(byte[] bytes, int offset, int numBytes) {
          int shift = 0;
          long value = 0;
          for(int i = offset + numBytes - 1; i >= offset; i--) {
              value |= (bytes[i] & 0xFFL) << shift;
              shift += 8;
          }
          return value;
      }