cole14 / rust-elf

Library for parsing ELF files for Rust
Other
234 stars 45 forks source link

Remove the read_u8!() macro #10

Closed jcreekmore closed 8 years ago

jcreekmore commented 8 years ago

The read_u8!() macro is unnecessary since there are not endianness considers reading a u8. Additionally, the macro is broken because it tries to specialize the read_u8 function in the ReadBytesExt trait for LittleEndian and BigEndian which is not supported by that API.