Esempio n. 1
0
 public void Set(string fileName, long rangeFrom, long rangeTo)
 {
     _kindBuf   = KindBuf.Disk;
     _fileName  = fileName;
     _rangeFrom = rangeFrom;
     _rangeTo   = rangeTo;
 }
Esempio n. 2
0
 public void Set(byte [] buf)
 {
     _kindBuf = KindBuf.Memory;
     _doc = new byte[buf.Length];
     Buffer.BlockCopy(buf,0,_doc,0,buf.Length);
 }
Esempio n. 3
0
 public void Set(string fileName,long rangeFrom,long rangeTo)
 {
     _kindBuf = KindBuf.Disk;
     _fileName = fileName;
     _rangeFrom = rangeFrom;
     _rangeTo = rangeTo;
 }
Esempio n. 4
0
 public void Clear()
 {
     _kindBuf = KindBuf.Memory;
     _doc = new byte[0];
 }
Esempio n. 5
0
 public Body()
 {
     _kindBuf = KindBuf.Memory;
     _doc = new byte[0];
 }
Esempio n. 6
0
 public void Set(byte [] buf)
 {
     _kindBuf = KindBuf.Memory;
     _doc     = new byte[buf.Length];
     Buffer.BlockCopy(buf, 0, _doc, 0, buf.Length);
 }
Esempio n. 7
0
 public void Clear()
 {
     _kindBuf = KindBuf.Memory;
     _doc     = new byte[0];
 }
Esempio n. 8
0
 public Body()
 {
     _kindBuf = KindBuf.Memory;
     _doc     = new byte[0];
 }