(body: globalThis.Uint8Array, contentType?: string)
| 261 | * @since 4.0.0 |
| 262 | */ |
| 263 | export const uint8Array = (body: globalThis.Uint8Array, contentType?: string): Uint8Array => |
| 264 | new Uint8Array(body, contentType ?? "application/octet-stream", body.length) |
| 265 | |
| 266 | const encoder = new TextEncoder() |
| 267 |