35 #ifndef _PLT_STREAM_PUMP_H_ 36 #define _PLT_STREAM_PUMP_H_ 53 virtual NPT_Result Receive(
NPT_InputStream& stream, NPT_Size max_bytes_to_read, NPT_Size* bytes_read = 0) = 0;
84 NPT_Result PullData(
NPT_InputStream& input, NPT_Size max_bytes_to_read);
89 NPT_Offset m_TotalBytesRead;
90 NPT_Offset m_TotalBytesWritten;
103 NPT_Result Receive(
NPT_InputStream& input, NPT_Size max_bytes_to_read, NPT_Size* bytes_read)
override;
107 NPT_Result m_LastRes;
118 NPT_Size size = 65535,
119 NPT_Size max_bytes_to_read = 0);
126 NPT_Size m_MaxBytesToRead;
127 NPT_Result m_LastRes;
131 #endif // _PLT_STREAM_PUMP_H_
Definition: PltStreamPump.h:113
Definition: NptRingBuffer.h:44
Definition: NptStreams.h:92
Definition: PltStreamPump.h:76
Definition: PltStreamPump.h:61
Definition: NptReferences.h:45