/    Sign up×
Community /Pin to ProfileBookmark

when do nodejs streams/buffers apply?

when do node.js streams/buffers apply?

to post a comment

5 Comments(s)

Copy linkTweet thisAlerts:
@sagarchavadaMay 30.2019 — Stream :

A stream is an abstract interface for working with streaming data in Node.js. The stream module provides a base API that makes it easy to build objects that implement the stream interface.

In NodeJs Stream use for the following ways :

HTTP request & responses

Standard input/output(stdin & stdout)

File reads and write

Buffer :

Node.js provides Buffer class which provides instances to store raw data.

We can create a Buffer in the following way:

let bufferOne = new Buffer(10);

let bufferTwo = new Buffer([10, 20, 30, 40, 50]);

let bufferThree = new Buffer('Simply Easy Learning');






Copy linkTweet thisAlerts:
@VITSUSAMay 30.2019 — I agree with sagarchavada, And this video will more helpful to you to know when node.js streams/buffers apply -

https://www.youtube.com/watch?v=-O8wpYYKstE
Copy linkTweet thisAlerts:
@sagarchavadaJun 17.2019 — Yea @VITSUSA#1604173 i show this video and it is very helpful to know about the buffer and stream in nodejs @retrosec088#1599727 .
Copy linkTweet thisAlerts:
@retrosec088authorJul 03.2019 — thank you this is good to know
Copy linkTweet thisAlerts:
@james19millerJul 04.2019 — NodeJS is a great and easy way to build applications, many NodeJS Development Companies use this technology to build great apps.

Want some info on nodeJS check it's website.
×

Success!

Help @retrosec088 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...