Skip to content

Commit

Permalink
One more typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Feb 4, 2024
1 parent 24dfcb7 commit 46eab31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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:
Expand Down

0 comments on commit 46eab31

Please sign in to comment.