def print_line(line, env):
    """
    >>> from unidump.env import env
    >>> print_line([0, ['00A0', '00B0', '00C0'], 'ABC'], env(linelength=4))
          0    00A0 00B0 00C0         ABC

    >>> print_line([12, ['00A0', '1F678', '00C0'], 'A🙸C'],
    ...            env(linelength=4))
         12    00A0 1F678 00C0        A🙸C

    """
    env.output.write(env.lineformat.format(byte=line[0], repr=' '.join(line
        [1]).ljust(env.linelength * 5 - 1), data=line[2]))
