You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't stand the static buffer implementation because it
arbitrarily Creates more buffers than needed
Is unreadable because of random shifting
Does things at runtime that should be done at compile time (> c++17 is a thing)
is not templated
Im pretty sure there are people who would disagree with my statements (that's fine) :) , so I'll post my implementation here for anyone who likes a more modern approach for this buffer
although I am sure that this is not mergable with the current erpc design, I just use it because the original static buffer implementation annoys me :)
Hi,
I couldn't stand the static buffer implementation because it
Im pretty sure there are people who would disagree with my statements (that's fine) :) , so I'll post my implementation here for anyone who likes a more modern approach for this buffer
How to use:
erpc_mbf_t c_message_buffer_factory = erpc_mbf_static_fixed_init<2, 256>();
Is there a need for this? :)
The text was updated successfully, but these errors were encountered: