-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Cool, looks like my DNS finally rolled over and my blog is enabled again on my regular domain. Post now lives here:https://blog.yoshuawuyts.com/byte-ordered-stream-parsing/ …
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
A bit late to this party but have you looked at scroll at all? I love it for parsing binary formats, especially when the task is "parse the format as defined by these C structs". With its proc macro derive it's really wonderful in practice: https://docs.rs/scroll/0.10.1/scroll/ …
-
I hadnt't seen it before; thanks for sharing!
Kraj razgovora
Novi razgovor -
-
-
In this example you used the name "buf" in the declaration but "file" in the usage, also you need to borrow the .to_le_bytes() as it returns a [u8; 2] not an &[u8] (I only caught this because I've been writing a lot of code doing the exact same thing recently :P)pic.twitter.com/ryk8IaOCV9
-
Which, to add, I personally have wanted something like this in the stdlib since the day I started rust, definitely a worthwhile addition.
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.