(schema: S)
| 1100 | */ |
| 1101 | export const encodeSchema = |
| 1102 | <S extends Schema.Constraint>(schema: S) => |
| 1103 | <IE = never, Done = unknown>(options?: EncodeSchemaOptions<S>): Channel.Channel< |
| 1104 | Arr.NonEmptyReadonlyArray<Uint8Array>, |
| 1105 | IE | Schema.SchemaError, |
| 1106 | Done, |
| 1107 | Arr.NonEmptyReadonlyArray<S["Type"]>, |
| 1108 | IE, |
| 1109 | Done, |
| 1110 | S["EncodingServices"] |
| 1111 | > => |
| 1112 | Channel.map( |
| 1113 | encodeSchemaRecords<S, IE, Done>(schema, options), |
| 1114 | (texts) => Arr.of(textEncoder.encode(texts.join(""))) |
| 1115 | ) |
nothing calls this directly
no test coverage detected