Module spacetimedb_table::bflatn_from

source ·
Expand description

Provides the function [read_row_from_page(ser, page, fixed_offset, ty)] which serializes value = page.get_row_data(fixed_offset, fixed_row_size) typed at ty and associated var len objects in value into the serializer ser.

Functions§

  • Read a T from bytes at the curr_offset and advance by size bytes.
  • Reads the tag of the sum value and selects the data variant type.
  • Serializes the row in page where the fixed part starts at fixed_offset and lasts ty.size() bytes. This region is typed at ty.