Alex Whitt

Results 78 comments of Alex Whitt

Er, I think I can go off of `select-codec` from https://gist.github.com/stathissideris/8801295 ... closing

Er, then again, maybe not... that seems to be read-only. I guess, could you give me an example that includes read and write, and has codec switching / selection logic?

I'm also not sure how to cleanly handle a case where I have a byte that consists of 6 boolean bits and then 2 bits that combine to make an...

Thank you! I'll dig into it

As for my second question (on complex bit handling), I've written a codec to generically handle this sort of case, like so: Config: ``` [:contains-apdu nil :dest-present nil :source-present :reply-expected...

And as for the codec selection in the header, do you think `select-codec` from the example I referenced looks like another candidate for inclusion in your library? (Assuming `write-data` was...

I solved all of my problems! I have BACnet encoding and decoding working now. I ended up implementing an additional generic codec which I think may be useful to others....

So I really really want to publish my BACnet parser as open source, but as I wrote it for my employer, that may or may not happen. I'm going to...

After discovering [graph](https://github.com/plumatic/plumbing) and [specter](https://github.com/nathanmarz/specter), I was able to drastically cut down the amount of helper functions. Here's what my binary utility NS has been reduced to: https://gist.github.com/WhittlesJr/b5bdc6880d7639ec795a1e293af70a34

The `complex-bytes`-related stuff could be removed also if we could come up with a codec for `bit`.