Suppose that you have a N-byte input stream consisting of N 7-bit ASCII characters. Approximately what compression ratio does the following code-fragment achieve?
while (!BinaryStdIn.isEmpty()) {
char c = BinaryStdIn.readChar(8);
BinaryStdOut.write(c, 7);
}
BinaryStdOut.close();