Module spacetimedb_table::row_hash

source ·
Expand description

Provides the function [hash_row_in_page(hasher, page, fixed_offset, ty)] which hashes value = page.get_row_data(fixed_offset, fixed_row_size) typed at ty and associated var len objects in value into hasher.

Functions§

  • Hashes the row in page where the fixed part starts at fixed_offset and lasts ty.size() bytes. This region is typed at ty.
  • Read a T from bytes at the curr_offset and advance by size bytes.