def METHOD_NAME():
  # type: () -> None
  stdout_ = mylib.Stdout()
  out = TextOutput(stdout_)
  out.write('foo\n')
  out.write('bar\n')
  log('Wrote %d bytes', out.num_chars)
  out.MutateFields()
  out.PrintFields()