Logo Search packages:      
Sourcecode: djvulibre version File versions

int IFFByteStream::ready (  ) 

Returns true when it is legal to call read# or write#.

Definition at line 114 of file IFFByteStream.cpp.

{
  if (ctx && dir < 0)
    return ctx->offEnd - offset;
  else if (ctx)
    return 1;
  else
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index