* Read the raw bytes of a file as a ByteString (latin1-shaped: each * char = one byte). Use when the bytes will be piped onward unchanged or * explicitly decoded with `decodeBytesToUtf8` — never call string methods * on the result, that's the bug class this type prevents. * *
(path: string)
| 147 | * @throws Error if file doesn't exist or is a directory |
| 148 | */ |
| 149 | readFileBytes?(path: string): Promise<ByteString>; |
| 150 | |
| 151 | /** |
| 152 | * Read the contents of a file as a Uint8Array (binary) |
no outgoing calls
no test coverage detected