mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-03 22:47:46 +00:00
parent
2ab055445b
commit
77d1c309cd
1 changed files with 5 additions and 0 deletions
|
@ -71,6 +71,11 @@ fn odfunc(input_offset_base: &Radix, fname: &str) {
|
||||||
let bytes = &mut [b'\x00'; 16];
|
let bytes = &mut [b'\x00'; 16];
|
||||||
loop {
|
loop {
|
||||||
match f.read(bytes) {
|
match f.read(bytes) {
|
||||||
|
Ok(0) => {
|
||||||
|
print_with_radix(input_offset_base, addr);
|
||||||
|
print!("\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
Ok(n) => {
|
Ok(n) => {
|
||||||
print_with_radix(input_offset_base, addr);
|
print_with_radix(input_offset_base, addr);
|
||||||
for b in 0 .. n / mem::size_of::<u16>() {
|
for b in 0 .. n / mem::size_of::<u16>() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue