()
| 1358 | * |
| 1359 | * @see {@link decodeBase64} to decode to `Uint8Array` instead |
| 1360 | * @see {@link encodeBase64} for the inverse operation |
| 1361 | * |
| 1362 | * @category decoding |
| 1363 | * @since 4.0.0 |
| 1364 | */ |
| 1365 | export function decodeBase64String<E extends string>(): Getter<string, E> { |
| 1366 | return transformOrFail((input, options) => |
| 1367 | Result.match(Encoding.decodeBase64String(input), { |
| 1368 | onFailure: () => |
| 1369 | Effect.fail( |
| 1370 | new SchemaIssue.InvalidValue( |
nothing calls this directly
no test coverage detected
searching dependent graphs…