Read a stream for header data.
Namespace: nom.tam.fits
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Overridable Sub Read( _ ByVal dis As ArrayDataIO _ ) _ Implements FitsElement.Read |
| C# |
|---|
| public virtual void Read( ArrayDataIO dis ) |
| C++ |
|---|
| public: virtual void Read( ArrayDataIO dis ) |
| J# |
|---|
| public virtual void Read( ArrayDataIO dis ) |
| JScript |
|---|
| public virtual
function Read( dis : ArrayDataIO ) |
Parameters
- dis
- The input stream to read the data from.
Return Value
null if there was a problem with the header; otherwise return the header read from the input stream.
Implements
FitsElement.Read
Exceptions
| Exception Type | Condition |
|---|---|
| TruncatedFileException |