FXStream& FX::FXStream::load ( FXuchar p,
unsigned long  n 
) [inline]

Load arrays of items from stream.

Definition at line 453 of file FXStream.h.

References FXASSERT, and NULL.

Referenced by FX::QMemArrayImpl::Deserialise< true, type, allocator >::Deserialise(), FX::loadElms(), and FX::operator>>().

00453                                             {   // inlined as FXString uses it
00454     FXASSERT(n==0 || (n>0 && p!=NULL));
00455     if(n!=dev->readBlock((char *) p,n)) int_throwPrematureEOF();
00456     return *this;
00457   }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:36:31 2009 for TnFOX by doxygen v1.4.7