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

start of buffers and streams docs #16

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Conversation

jjmax75
Copy link
Collaborator

@jjmax75 jjmax75 commented Nov 9, 2019

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

@jjmax75 jjmax75 added the article Adding content label Nov 10, 2019
@jjmax75 jjmax75 closed this Dec 1, 2020
@donovanh donovanh reopened this Apr 14, 2021
@jjmax75
Copy link
Collaborator Author

jjmax75 commented May 3, 2021

I'm rewriting a lot of this. I should have something for review in the next few days - please hold off reviewing, thanks.

@jjmax75 jjmax75 added the reworking Responding to feedback or fixing an issue. Not ready for review. label May 3, 2021

## 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.
Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
article Adding content reworking Responding to feedback or fixing an issue. Not ready for review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants