* Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `buf`. * * If `encoding` is `'utf8'` and a byte sequence in the input is not valid UTF-8, * then each invalid byte is replaced with the re
(encoding?: BufferEncoding, start?: number, end?: number)
| 385 | * @param [end=buf.length] The byte offset to stop decoding at (not inclusive). |
| 386 | */ |
| 387 | toString(encoding?: BufferEncoding, start?: number, end?: number): string; |
| 388 | /** |
| 389 | * Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`. |
| 390 | * |
no outgoing calls