[Top] [Prev] [Next] [Bottom]

Hendbitaccess

intn Hendbitaccess(int32 h_id, intn flushbit)
h_id

IN:

Identifier of the bit-access element to be disposed of

flushbit

IN:

Specifies how the leftover bits are to be flushed

Purpose

Disposes of the specified bit-access file element.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

If called after a bit-write operation, Hendbitaccess flushes all buffered bits to the dataset, then calls Hendaccess..

"Leftover bits" are bits that have been buffered, but are fewer than the number of bits defined by BITNUM, which is usually set to 8.

Valid codes for flushbit are:

0 - flush with zeros

1 - flush with ones

-1 - dispose of leftover bits



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.