utils
Fully qualified path: dojo::utils
Modules
Re-exports:
| bytearray_hash | Compute the poseidon hash of a serialized ByteArray |
| selector_from_hashes | Computes the selector from two hashes. |
| selector_from_names | Computes the selector of a resource from the namespace and the name. |
| selector_from_namespace_and_name | Computes the selector namespace hash and the name of the resource. |
| combine_key | Combine parent and child keys to build one full key. |
| entity_id_from_keys | Computes the entity id from the key. |
| entity_id_from_serialized_keys | Computes the entity id from the keys…. |
| find_field_layout | find a field with its selector in a list of layouts |
| find_model_field_layout | Find the layout of a model field based on its selector…. |
| sum_sizes | Computes the sum of the provided sizes. If at least one size is None, returns None. |
| is_name_valid | Verifies that the provided name is valid according to the following RegEx: ^ a-zA-Z0-9_ +$ |
| deserialize_unwrap | — |
| serialize_inline | — |