1234567891011121314151617 |
- use std::io::{self, Read};
- pub mod hex;
- fn main() {
- let stdin = std::io::stdin();
- let mut input = stdin.lock();
- while true {
- let mut buffer: [u8; 64] = [0; 64];
- let read = input.read(&mut buffer);
- println!("{}", hex::to_line(&buffer));
- }
- }
|