CCSDS 133.0-B Space Packet Protocol for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-space-packet: reflow get_apid binding after dune fmt

Pure formatting: dune fmt wraps the Wire.Staged.unstage call onto its
own line because the full expression overflows 80 columns.

+2 -1
+2 -1
lib/space_packet.mli
··· 204 204 via {!Wire.Codec.get} and {!Wire.Codec.set}. For example: 205 205 {[ 206 206 let get_apid = 207 - Wire.Staged.unstage (Wire.Codec.get Space_packet.codec Space_packet.bf_apid) 207 + Wire.Staged.unstage 208 + (Wire.Codec.get Space_packet.codec Space_packet.bf_apid) 208 209 209 210 let buf = Bytes.make 6 '\x00' 210 211 let apid = get_apid buf 0