What are the numbers? You can encode 9,999,999,999 in 5 bytes. If you want to store the number in human readable bytes, convert it to Base64 encoding or similar.
public static void encode (TextInputFile input, TextOutputFile output) { //reads input and output names, reads line per line from the input file, sending it to the encode (String) method. //Gets the ...