Class StreamUtils
Stream utilities.
Inheritance
System.Object
StreamUtils
Namespace: Lucene.Net.Benchmarks.ByTask.Utils
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class StreamUtils : object
Fields
| Improve this Doc View SourceBUFFER_SIZE
Buffer size used across the benchmark package
Declaration
public static readonly int BUFFER_SIZE
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceGetInputStream(FileInfo)
Returns an
Declaration
public static Stream GetInputStream(FileInfo file)
Parameters
| Type | Name | Description |
|---|---|---|
| FileInfo | file |
Returns
| Type | Description |
|---|---|
| Stream |
GetOutputStream(FileInfo)
Returns an
Declaration
public static Stream GetOutputStream(FileInfo file)
Parameters
| Type | Name | Description |
|---|---|---|
| FileInfo | file |
Returns
| Type | Description |
|---|---|
| Stream |