smee / binary

Clojure API for binary format I/O using java's stream apis
74 stars 10 forks source link

Even when :keep-header? is true, allow for body->header #16

Closed WhittlesJr closed 6 years ago

WhittlesJr commented 6 years ago

I have a situation where I need to calculate the length of my packet and insert it into the header, but I also want :keep-header? to be true. This seems like the solution for me. What do you think?

smee commented 6 years ago

Good idea, thanks!

WhittlesJr commented 6 years ago

Cool, thank you!

smee commented 6 years ago

You're welcome. I released version 0.5.3 with your addition.