File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -748,6 +748,14 @@ added: v0.7.0
748748Reset the compressor/decompressor to factory defaults. Only applicable to
749749the inflate and deflate algorithms.
750750
751+ ## ` zlib.constants `
752+
753+ <!-- YAML
754+ added: v7.0.0
755+ -->
756+
757+ Provides an object enumerating Zlib-related constants.
758+
751759## ` zlib.crc32(data[, value]) `
752760
753761<!-- YAML
@@ -811,14 +819,6 @@ crc = zlib.crc32(Buffer.from('hello', 'utf16le')); // 1427272415
811819crc = zlib .crc32 (Buffer .from (' world' , ' utf16le' ), crc); // 4150509955
812820```
813821
814- ## ` zlib.constants `
815-
816- <!-- YAML
817- added: v7.0.0
818- -->
819-
820- Provides an object enumerating Zlib-related constants.
821-
822822## ` zlib.createBrotliCompress([options]) `
823823
824824<!-- YAML
You can’t perform that action at this time.
0 commit comments