struct

Spacetime::RowSizeHint

Inherits Struct < Value < Object

Hint describing how packed rows are laid out inside a BsatnRowList.

  • Tag 0: FixedSize(UInt16) — every row has the same byte width.
  • Tag 1: RowOffsets(Array(UInt64)) — stores the starting byte offset of each row.

Constructors

decode_bsatn(decoder : BSATN::Decoder) : self
Source
fixed_size(size : UInt16) : self
Source
row_offsets(offsets : Array(UInt64) = [] of UInt64) : self
Source

Instance methods

encode_bsatn(encoder : BSATN::Encoder) : Nil
Source
fixed_size
Source
index_to_range(index : Int, data_end : Int) : Range(Int32, Int32) | Nil
Source
kind
Source
row_offsets
Source

Nested types