This commit is contained in:
kogleee committed 2023-11-08 13:17:48 +03:00
commit 3dbd9654c2
136 files changed
+14736

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
const fs = require('fs');
const zlib = require('zlib');
let readableStream = fs.createReadStream(
'hello.txt',
'utf8'
);
let writeableStream = fs.createWriteStream('hello.txt.gz');
let gzip = zlib.createGzip();
readableStream.pipe(gzip).pipe(writeableStream);
+3
View File
@@ -0,0 +1,3 @@
Привет мир!
Продолжение записи
Завершение записи
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
Привет мир!
Продолжение записи
Завершение записи
+3
View File
@@ -0,0 +1,3 @@
Привет мир!
Продолжение записи
Завершение записи