byteorder 0.2.1

Library for reading/writing numbers in big-endian and little-endian.
docs.rs failed to build byteorder-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: byteorder-1.5.0

Convenience functions for reading and writing integers/floats in various byte orders such as big-endian and little-endian. This is meant to replace the old methods defined on the standard library Reader and Writer traits.

Work in progress.

TODO

  1. f32 and f64 support. (trivial)
  2. Flesh out the README. (Install, examples, links to docs, limitations.)

Ideas?

Use the rustc-serialize infrastructure, but it is known to be Not Fast. So I'm skeptical of how useful it would be. Basically, it would let you say something like: let n: u32 = rdr.decode::<BigEndian>() as opposed to let n = rdr.read_u32::<BigEndian>(). Doesn't seem like an obvious win.