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
Just saw this browsing the issues from curiosity.
I'm not the library author, but I'll leave a comment.
Don't ask to add bloat and dozens of configuration options to libraries. Let's keep them simple, and do one thing, and do it right.
If you need such a feature, extend SmartBuffer, add these two functions, and use your own "wrapper" in the code.
To be honest - I would make use of that feature, so it's nothing personal. I have the exact case in my project. The problem I see is that features are being added and added to libraries, which makes them less maintainable, and actually less usable. If some feature is not a blocker (meaning that something cannot be done with current API), and it's not complex to implement by library user, it should be added only if would be used by majority of the users.
I'm not sure what the best name for it would be, but would be nice to have convenience methods for the following common scenario:
This is useful when you're constructing complex messages with multiple buffers inside them.
The text was updated successfully, but these errors were encountered: