Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public StreamedBinaryTableHDU(RowSource rs, int bufSize)
     : this(rs, bufSize, DEFAULT_STRING_WRITE_MODE, DEFAULT_STRING_TRUNCATION_LENGTH)
 {
 }
Exemplo n.º 3
0
 public StreamedBinaryTableHDU(RowSource rs, int bufSize, StringWriteMode writeMode,
     int stringTruncationLength)
     : this(rs, bufSize, writeMode, stringTruncationLength, true, ' ')
 {
 }
Exemplo n.º 4
0
 public StreamedBinaryTableHDU(RowSource rs)
     : this(rs, DEFAULT_BUFFER_SIZE)
 {
 }