let read ic = read0 ic >>= fun (header, xs) -> Ok (header, Stream.map xs ~f:(bind (fun r -> Alignment0.decode r header)))