remme123 opened this issue 2 years ago · 1 comments
std drain retures a new struct Drain, but heapless can drop the drained data by using method copy_within & truncate.
Sounds useful, could you make a PR for the feature?