get_ready_size(), get_input_size()

For https://github.com/yandex-sysmon/powny/issues/157