Lwt-based module for reading binary numbers