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

Add note about sdsnewlen(0, ...) to readme #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miasujii
Copy link

@miasujii miasujii commented Jul 4, 2021

It's convenient that sdsnewlen accepts 0 as a first argument, giving us a way to create an empty buffer of a given length. It would be nice to document this in the readme.

I don't know how the wording should be, but it felt lazy to not make a PR for such a small change. Feel free to close this PR and use whatever wording you like ;-)

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

Successfully merging this pull request may close these issues.

1 participant