Пример #1
0
 public StreamedBinaryTableHDU(RowSource rs, int bufSize, StringWriteMode writeMode,
     int stringTruncationLength, bool padLeft, char padChar)
 {
     _writerMap = CreateWriterMap();
       _rs = rs;
       _buf = new byte[bufSize];
       _byteRenderers = new ByteRenderer[_rs.ModelRow.Length];
       _writeMode = writeMode;
       _stringTruncationLength = stringTruncationLength;
       _padLeft = padLeft;
       _padChar = padChar;
       SetupRenderers();
 }
Пример #2
0
 public StreamedBinaryTableHDU(RowSource rs, int bufSize)
     : this(rs, bufSize, DEFAULT_STRING_WRITE_MODE, DEFAULT_STRING_TRUNCATION_LENGTH)
 {
 }
Пример #3
0
 public StreamedBinaryTableHDU(RowSource rs, int bufSize, StringWriteMode writeMode,
     int stringTruncationLength)
     : this(rs, bufSize, writeMode, stringTruncationLength, true, ' ')
 {
 }
Пример #4
0
 public StreamedBinaryTableHDU(RowSource rs)
     : this(rs, DEFAULT_BUFFER_SIZE)
 {
 }