/// MemoryStream::MemoryStream clone constructor // Note that we set the buffer list to NUL such as if this // guy is destructed, we keep the buffers of the parent. MemoryStream::MemoryStream(class Environ *env, class MemoryStream *parent,LONG mode) : ByteStream(env), m_pBufferList(NULL) { ReOpenFrom(parent,mode); }
// // Similar to the above, a constructor that clones this stream DecoderStream(class DecoderStream *parent,LONG mode) : RandomAccessStream(parent->m_pEnviron) { assert(mode == JPGFLAG_OFFSET_CURRENT); ReOpenFrom(parent,mode); }