Summer.Batch.Extra.Ebcdic.EbcdicReader.EbcdicReader C# (CSharp) Method

EbcdicReader() public method

Constructs an EbcdicReader.
public EbcdicReader ( BufferedStream inputStream, Summer.Batch.Extra.Copybook.FileFormat fileFormat, bool hasRdw ) : System
inputStream System.IO.BufferedStream the stream to read the data from
fileFormat Summer.Batch.Extra.Copybook.FileFormat the copybook to use for decoding records
hasRdw bool true if records have a record descriptor word (RDW)
return System
        public EbcdicReader(BufferedStream inputStream, FileFormat fileFormat, bool hasRdw)
        {
            _stream = inputStream;
            _fileFormat = fileFormat;
            _decoder = new EbcdicDecoder(fileFormat.Charset);
            _recordFormatMap = new RecordFormatMap(fileFormat);
            _hasRdw = hasRdw;
        }