(schemas: readonly [Schema.Constraint, ...Array<Schema.Constraint>])
| 1590 | )) |
| 1591 | |
| 1592 | function toCodecArrayBuffer(schemas: readonly [Schema.Constraint, ...Array<Schema.Constraint>]): Schema.Top { |
| 1593 | return Schema.Union(schemas.map(toBodyCodec)) |
| 1594 | } |
| 1595 | |
| 1596 | function toBodyCodec(schema: Schema.Constraint): Schema.Top { |
| 1597 | return fromArrayBuffer(schema).pipe(Schema.decodeTo( |