The two functions do exactly the same except for different messages in the `Invalid_argument _` exception. It is not clear from the documentation. Discovered while answering https://github.com/mirage/ocaml-cstruct/issues/310