From 46eab313b826b73911007b822edc0cba8415270b Mon Sep 17 00:00:00 2001 From: Julian Schmid Date: Sun, 4 Feb 2024 19:07:58 +0100 Subject: [PATCH] One more typo fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 256646a7..52f1ce0f 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ There is also an [example for TCP packets](etherparse/examples/write_tcp.rs) ava Check out the [PacketBuilder documentation](https://docs.rs/etherparse/~0/etherparse/struct.PacketBuilder.html) for more information. -### Manually serialising each header +### Manually serializing each header Alternatively it is possible to manually build a packet ([example](etherparse/examples/write_ipv4_udp.rs)). Generally each struct representing a header has a "write" method that allows it to be serialized. These write methods sometimes automatically calculate checksums and fill them in. In case this is unwanted behavior (e.g. if you want to generate a packet with an invalid checksum), it is also possible to call a "write_raw" method that will simply serialize the data without doing checksum calculations. Read the documentations of the different methods for a more details: