Taking the first example from the
byteorder crate docs, there is a syntax I haven’t seen before
The bit I’m confused about is
::<BigEndian>, I see what it does - but I wouldn’t know how to do it myself. I’ve looked in the source code to try to figure out what it is and where it’s coming from - but I’m struggling.
Please can someone provide some pointers to some docs?
As a secondary point, I’d be interested in whether I can set this to be
BigEndian at runtime - as I can be dealing with files generated using both techniques.
Appreciate the help