123val detect : Reader.t -> (Types.format, Types.error) resultval of_bytes : bytes -> Types.format option