Skip to content

Commit

Permalink
blocks: Update blocks scheme header
Browse files Browse the repository at this point in the history
  • Loading branch information
shramov committed Dec 9, 2023
1 parent e52cd5a commit dd33563
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/channel/blocks.scheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ struct Block

template <typename Buf>
static binder_type<Buf> bind(Buf &buf, size_t offset = 0) { return binder_type<Buf>(tll::make_view(buf).view(offset)); }

template <typename Buf>
static binder_type<Buf> bind_reset(Buf &buf) { return tll::scheme::make_binder_reset<binder_type, Buf>(buf); }
};

} // namespace blocks_scheme

0 comments on commit dd33563

Please sign in to comment.