Spacetime::BsatnRowList
Inherits Enumerable < Struct < Value < Object
Packed list of BSATN-encoded table rows transmitted in WebSocket updates.
Constructors
decode_bsatn(decoder : BSATN::Decoder) : self
Sourceempty
SourcePacks an array of fixed-width BSATN rows into a BsatnRowList using FixedSize.
Packs an array of serialized BSATN row byte slices into a BsatnRowList using RowOffsets.
Instance methods
Decodes all rows in this list as instances of T.
empty?
Returns true if self does not contain any element.
([] of Int32).empty? # => true
([1]).empty? # => false
[nil, false].empty? # => false
#present?returns the inverse.
encode_bsatn(encoder : BSATN::Encoder) : Nil
Sourcerows_data
Sourcesize_hint
Source