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
How is a reference serialized in FunC?

How is a reference serialized (stored)?


This question was imported from Telegram Chat: https://t.me/tondev_eng/9475

  
  
Posted one year ago
Votes Newest

Answers


Do not attempt to deserialize/serialize a reference value like you would an integer. Instead, use load_ref:

(slice, cell) load_ref(slice s) asm( -> 1 0) "LDREF";

https://ton.org/docs/develop/func/stdlib/#load_ref

  
  
Posted one year ago
Edited one year ago
Jeremy
384 × 5 Administrator
15K Views
1 Answer
one year ago
one year ago
Tags