zeroDevice
constzeroDevice:DeviceDriver
Defined in: src/internal/devices.ts:379
Internal
Simulates the /dev/zero device
Provides an infinite stream of zeroes when read.
Discards any data written to it.
- Reads fill the buffer with zeroes.
- Writes discard data but update the file position.
- Provides basic file metadata, treating it as a character device.