Class StreamUtils
Assembly: Lucene.Net.Benchmark.dll
Syntax
public static class StreamUtils
Fields
BUFFER_SIZE
Buffer size used across the benchmark package
Declaration
public static readonly int BUFFER_SIZE
Field Value
Methods
Returns an Stream over the requested file. This method
attempts to identify the appropriate Stream instance to return
based on the file name (e.g., if it ends with .bz2 or .bzip, return a
'bzip' Stream).
Declaration
public static Stream GetInputStream(FileInfo file)
Parameters
Returns
GetOutputStream(FileInfo)
Declaration
public static Stream GetOutputStream(FileInfo file)
Parameters
Returns