| BinaryRecordReaderT Constructor (String, Boolean, Boolean, Int32, CompressionType, Int64) |
Initializes a new instance of the
BinaryRecordReaderT class that reads from the specified file.
Namespace:
Ookii.Jumbo.IO
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public BinaryRecordReader(
string fileName,
bool allowRecordReuse,
bool deleteFile,
int bufferSize,
CompressionType compressionType,
long uncompressedSize
)
Public Sub New (
fileName As String,
allowRecordReuse As Boolean,
deleteFile As Boolean,
bufferSize As Integer,
compressionType As CompressionType,
uncompressedSize As Long
)
public:
BinaryRecordReader(
String^ fileName,
bool allowRecordReuse,
bool deleteFile,
int bufferSize,
CompressionType compressionType,
long long uncompressedSize
)
new :
fileName : string *
allowRecordReuse : bool *
deleteFile : bool *
bufferSize : int *
compressionType : CompressionType *
uncompressedSize : int64 -> BinaryRecordReader
Parameters
- fileName
- Type: SystemString
The path to the file to read from. - allowRecordReuse
- Type: SystemBoolean
if the reader can reuse the same instance of T every time;
if a new instance must be created for every record. - deleteFile
- Type: SystemBoolean
if the file should be deleted after reading is finished; otherwise, . - bufferSize
- Type: SystemInt32
The size of the buffer to use when reading the file. - compressionType
- Type: Ookii.JumboCompressionType
The type of compression to use to decompress the file. - uncompressedSize
- Type: SystemInt64
The uncompressed size of the stream.
See Also