Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's add some functionality for convinience of our users #97

Open
smtrfnv opened this issue Nov 16, 2023 · 0 comments
Open

Let's add some functionality for convinience of our users #97

smtrfnv opened this issue Nov 16, 2023 · 0 comments

Comments

@smtrfnv
Copy link
Contributor

smtrfnv commented Nov 16, 2023

  1. Provide a method to concatenate data from multiple ConstBuffers into one char buffer.
    int gather(char* buffer, size_t length, const ConstBuffer* buffers, size_t numBuffers)

  2. Provide methods to append all ntsa buffer types to bdlbb::Blob, now there is only DataUtil::append(bdlbb::Blob *destination, const ntsa::Data& source) (which requires construction of ntsa::Data in advance)

  3. Add ability to specify size of ConstBufferArray at construction (add ConstBufferArray(size_t initialSize, bslma::Allocator* basicAllocator = 0) constructor)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant