[Top]
[Prev]
[Next]
[Bottom]
SDwritechunk
intn SDwritechunk(int32
sds_id
, int32 *
origin
, VOIDP
datap
)
sds_id
IN:
SD interface identifier returned from
SDstart
origin
IN:
Origin of the chunk to be written
datap
IN:
Buffer for the chunk data to be written
Purpose
Writes data to a chunked scientific dataset.
Return value
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
SDwritechunk
is used when an entire chunk of data is to be written.
SDwritedata
is used when the write operation is to be done regardless of the chunking scheme used in the SDS.
Also,
SDwritechunk
is written specifically for chunked SDSs and doesn't have the overhead of the additional functionality supported by the
SDwritedata
routine - therefore, it is much faster than
SDwritedata
.
SDwritechunk
will return FAIL when an attempt is made to use it to write to a non-chunked SDS.
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.