docs: public static long fromBytes(byte[] value){
          if (value == null) return 0;
          long out = 0;
          int length = value.length;
          if (length > 8) length = 8;
          for (int i = 0; i < length; i++){
              out = (out << 8) + (value[i] & 0xff);
          }
          return out;
      }