Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

GP< ByteStream > ByteStream::create_static ( void const *  buffer,
size_t  size 
) [static, inherited]

Creates a ByteStream object for allocating the memory area of length sz# starting at address buffer#. This call impliments a read-only ByteStream interface for a memory area specified by the user at construction time. Calls to function read# directly access this memory area. The user must therefore make sure that its content remain valid long enough.

Definition at line 1166 of file ByteStream.cpp.

  return new Static(buffer, sz);

Generated by  Doxygen 1.6.0   Back to index