39 #ifndef _PLT_DATAGRAM_H_ 40 #define _PLT_DATAGRAM_H_ 60 NPT_Size buffer_size = 2000);
66 NPT_Result Read(
void* buffer,
67 NPT_Size bytes_to_read,
68 NPT_Size* bytes_read = 0)
override;
70 NPT_Result Seek(NPT_Position offset)
override { NPT_COMPILER_UNUSED(offset);
return NPT_FAILURE; }
71 NPT_Result Skip(NPT_Size offset)
override { NPT_COMPILER_UNUSED(offset);
return NPT_FAILURE; }
72 NPT_Result Tell(NPT_Position& offset)
override{ NPT_COMPILER_UNUSED(offset);
return NPT_FAILURE; }
73 NPT_Result GetSize(NPT_LargeSize& size)
override { NPT_COMPILER_UNUSED(size);
return NPT_FAILURE; }
74 NPT_Result GetAvailable(NPT_LargeSize& available)
override { NPT_COMPILER_UNUSED(available);
return NPT_FAILURE; }
80 NPT_Position m_BufferOffset;
103 NPT_Result Write(
const void* buffer, NPT_Size bytes_to_write, NPT_Size* bytes_written = NULL)
override;
104 NPT_Result Flush()
override;
106 NPT_Result Seek(NPT_Position offset)
override { NPT_COMPILER_UNUSED(offset);
return NPT_FAILURE; }
107 NPT_Result Tell(NPT_Position& offset)
override { NPT_COMPILER_UNUSED(offset);
return NPT_FAILURE; }
Definition: NptSockets.h:77
Definition: NptStreams.h:92
Definition: NptSockets.h:115
Definition: NptDataBuffer.h:44
Definition: NptSockets.h:243
The PLT_OutputDatagramStream class is a simple buffered output stream used when writing SSDP packets ...
Definition: PltDatagramStream.h:93