( body: Stream_.Stream<globalThis.Uint8Array, unknown>, contentType?: string, contentLength?: number )
| 479 | * @since 4.0.0 |
| 480 | */ |
| 481 | export const stream = ( |
| 482 | body: Stream_.Stream<globalThis.Uint8Array, unknown>, |
| 483 | contentType?: string, |
| 484 | contentLength?: number |
| 485 | ): Stream => new Stream(body, contentType ?? "application/octet-stream", contentLength) |
| 486 | |
| 487 | const fileContentLength = ( |
| 488 | size: FileSystem.SizeInput, |
no outgoing calls
no test coverage detected