super coomit

This commit is contained in:
kogleee
2023-10-25 12:42:14 +03:00
commit c85ff4093d
72 changed files with 4145 additions and 0 deletions
+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 @@
Привет мир!
Продолжение записи
Завершение записи