Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
What's the easiest way for calculating crc32 code of a string in JS?

In FunC, if you apply the letter c to a string literal (writing it as "string"c), the crc32 check value of the string is calculated and used instead of the string itself. People often use it for naming custom opcodes. To test opcodes in my TON projects with Blueprint, I need an easy way to calculate the crc32 values of the strings in JavaScript. How to do it, is there a library or something?


This question was imported from Telegram Chat: https://t.me/tondev/128041

  
  
Posted 5 months ago
Votes Newest

Answers


You can using Buffer.from to solve this.

  
  
Posted 3 months ago