Module Hxd.O

type colorscheme
val colorscheme_of_array : Fmt.style array -> colorscheme
val lowercase : colorscheme -> Fmt.style -> unit
val uppercase : colorscheme -> Fmt.style -> unit
val digit : colorscheme -> Fmt.style -> unit
val code : colorscheme -> int -> Fmt.style -> unit
type cfg
val xxd : ?⁠cols:int -> ?⁠groupsize:int -> ?⁠long:int -> ?⁠buffer_size:(int * int) -> ?⁠uppercase:bool -> colorscheme -> cfg
val caml : ?⁠with_comments:bool -> ?⁠cols:int -> ?⁠long:int -> ?⁠buffer_size:(int * int) -> ?⁠uppercase:bool -> [ `List | `Array ] -> cfg
val default : cfg
val o : cfg -> 's S.scheduler -> ('fi, bytes, 's'e) S.iflow -> ('fo, string, 's'e) S.oflow -> 'fi -> 'fo -> ('fi's'e) S.seek -> [ `Absolute of int | `Relative of int ] -> Stdlib.Format.formatter -> ((unit, 'e) Stdlib.result's) S.io