public FSING1 ReadFSING1(Stream s)
 {
     if (s == null || s.BytesRemaining() < 8)
     {
         return(null);
     }
     return(new FSING1
     {
         V = _fsinglReader.ReadFSINGL(s),
         A = _fsinglReader.ReadFSINGL(s)
     });
 }
 public CSINGL ReadCSINGL(Stream s)
 {
     if (s == null || s.BytesRemaining() < 8)
     {
         return(null);
     }
     return(new CSINGL
     {
         R = _fsinglReader.ReadFSINGL(s),
         I = _fsinglReader.ReadFSINGL(s)
     });
 }
Exemple #3
0
 public FSING2 ReadFSING2(Stream s)
 {
     if (s == null || s.BytesRemaining() < 12)
     {
         return(null);
     }
     return(new FSING2
     {
         V = _fsinglReader.ReadFSINGL(s),
         A = _fsinglReader.ReadFSINGL(s),
         B = _fsinglReader.ReadFSINGL(s)
     });
 }