22 std::size_t size_word{
sizeof(
uint32_t) * 8};
24 std::size_t readPointer{2 * 32};
25 std::span<const std::uint32_t>
data{bs, remaining};
82 current_stream_head_nbits, current_stream_head_nwords, current_stream_head_fifo_size, current_stream_head_streamID));
86 current_stream_head_nbits = current_stream_head_nbits%16? ((current_stream_head_nbits+15)/16)*16 : current_stream_head_nbits;
93 int current_stream_head_n32b_per_word = (current_stream_head_nbits-1)/32 +1;
94 std::vector<std::vector<uint32_t>> current_stream_data;
98 for (
uint i = 0;
i<current_stream_head_nwords;
i++){
99 std::vector<uint32_t> current_stream_word;
100 for (
int j = 0; j < current_stream_head_n32b_per_word; j++){
101 current_stream_word.push_back( Muon::nsw::decode_and_advance<uint64_t>(
data, readPointer, size_word) );
103 current_stream_data.push_back(current_stream_word);