-
Notifications
You must be signed in to change notification settings - Fork 17
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
start of buffers and streams docs #16
base: master
Are you sure you want to change the base?
Conversation
d5abcfa
to
d4b0abf
Compare
I'm rewriting a lot of this. I should have something for review in the next few days - please hold off reviewing, thanks. |
|
||
## Buffers | ||
|
||
Node's `Buffer` class enables working with binary data in Javascript. A buffer allows a programme to store data temporarily outside the V8 engine's stack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
This needs to be a lot simpler
Though not entirely accurate we can think of a buffer as an array of bytes, each byte is represented by a hexadecimal digit. | ||
|
||
The Node `Buffer` class is a global class and therefore does not need to be imported into a module. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are buffer's used for - a real world example
answer the so what?
question
it'd be good to get some feedback on this and get it in as a placeholder at least
The topics are pretty big and could do with their own sections but also work well together so I'd like to cover both.
Basic enough at the moment but it'd be nice to get your ideas about what you'd like to see covered in here. I'm conscious that people like us are the audience for these docs so your feedback here would be great.
Thanks guys