(options?: {
readonly contentType?: string | undefined
})
| 390 | * @since 4.0.0 |
| 391 | */ |
| 392 | export const StreamUint8Array = (options?: { |
| 393 | readonly contentType?: string | undefined |
| 394 | }): StreamUint8Array => |
| 395 | Schema.make<StreamUint8Array>(streamSchema.ast, { |
| 396 | [StreamSchemaTypeId]: StreamSchemaTypeId, |
| 397 | _tag: "StreamUint8Array", |
| 398 | mode: "uint8array", |
| 399 | contentType: options?.contentType ?? defaultStreamContentType("uint8array") |
| 400 | }) |
| 401 | |
| 402 | /** @internal */ |
| 403 | export const isStreamSchema = (u: unknown): u is StreamSchema => |
nothing calls this directly
no test coverage detected