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

fixes Buffer polyfill Buffer#write method behaviour #73

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

OlegDokuka
Copy link
Member

This PR fixes Buffer#write method behavior according to the specified in the node docs -> https://nodejs.org/api/buffer.html#buffer_buf_write_string_offset_length_encoding.

For more info see #72

@stevegury
Copy link
Member

Code LGTM.
Is there a way to add a test that doesn't use node?

@OlegDokuka
Copy link
Member Author

OlegDokuka commented Nov 23, 2019

@stevegury I will take over the @lexs PR and rewrite little buffer alfrom scratch. Also, one of the option to test is to take a little buffer and compare result with the native one in node environment

@stevegury
Copy link
Member

Alright, are you going to that in this PR?
(I'm ok merging this as is if you want to do another PR)

@OlegDokuka
Copy link
Member Author

Yeah, I'm working on another, thus let's merge this one

@OlegDokuka OlegDokuka merged commit 188ed68 into master Dec 3, 2019
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.

2 participants