Skip to content

Commit 39b5c27

Browse files
committed
update README
1 parent 63371bb commit 39b5c27

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,13 @@ val set_ethernet_src : string -> int -> Cstruct.t -> unit
9696
val blit_ethernet_src : Cstruct.t -> int -> Cstruct.t -> unit
9797
val get_ethernet_ethertype : Cstruct.t -> Cstruct.uint16
9898
val set_ethernet_ethertype : Cstruct.t -> Cstruct.uint16 -> unit
99+
val hexdump_ethernet_to_buffer : Buffer.t -> Cstruct.t -> unit
100+
val hexdump_ethernet : Cstruct.t -> unit
99101
```
102+
103+
The `hexdump` functions above are convenient pretty-printing functions
104+
to help you debug, and aren't intended to be high performance.
105+
100106
You can also declare C-like enums:
101107

102108
```

0 commit comments

Comments
 (0)