How can I add raw bytes, or non-null terminated strings?
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 368
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Something like:
bf.add(64,buf);
where buf is something like char*, and 64 is the number of bytes pointed to by buf.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing bf.add API and its tests in the C++ library, then compare how it handles input lengths and termination. Confirm the requested bf.add(64, buf) form for a char* buffer and add coverage showing that exactly 64 bytes are handled, including data without a null terminator.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100