mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +00:00
Change design for endianness command line option
This commit is contained in:
1 parent
58b038af27
commit
b251575d94
3 files changed
+16
-15
No files matched your search
+1
-1
@@ -557,7 +557,7 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
|
||||
|
||||
if matches!(self.endianness, Endianness::Little) {
|
||||
// reorder the buffer to the little endian format
|
||||
self.reorder_buf_to_le(&mut buf);
|
||||
self.reorder_buf_to_little_endian(&mut buf);
|
||||
};
|
||||
|
||||
for (i, &b) in buf.iter().enumerate() {
|
||||
|
||||
Reference in new issue
Block a user