This routine provides efficient writing of arrays of any primitive type. The String class is also handled but it is an error to invoke this method with an object that is not an array of these types. If the array is multidimensional, then it calls itself recursively to write the entire array. Strings are written using the standard 1 byte format (i.e., as in writeBytes). * If the array is an array of objects, then writePrimitiveArray will be called for each element of the array. *
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides Sub WriteArray( _ ByVal o As Object _ ) |
C# |
---|
public override void WriteArray( object o ) |
C++ |
---|
public: virtual void WriteArray( Object o ) override |
J# |
---|
public override void WriteArray( object o ) |
JScript |
---|
public override
function WriteArray( o : Object ) |
Parameters
- o
- The object to be written. It must be an array of a primitive type, Object, or String.