OCaml
Printf.printf and 'Bytes' argument
Learning
hcarty
April 10, 2018, 7:04pm
3
You can use
Printf.printf "%s" (Bytes.to_string b)
.
show post in topic
Related topics
Topic
Replies
Views
Activity
Named arguments to printf format?
Learning
printf
2
577
December 3, 2022
Why can't I use concatenation in Printf?
Learning
3
1748
October 10, 2019
Printf vs. Format?
Learning
pretty-printing
2
710
February 20, 2024
Printf.printf "uri: %a" Uri.pp Uri.empty
Learning
printf
4
423
April 1, 2023
Pretty printing binary ints
Ecosystem
format
,
pretty-printing
,
printf
14
2729
November 1, 2022