aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/streams/factory/open_common/factory.h
blob: 5477d0969a5e45a25b6033d17ae9dc73777e0b4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <util/generic/fwd.h>
#include <util/generic/ptr.h>
#include <util/stream/fwd.h>

/**
 * Convenience function for opening standard input.
 *
 * @param bufSize                       Buffer size.
 */
THolder<IInputStream> OpenStdin(size_t bufSize = 1 << 13);