Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCSocketReaderWriter.html below:
NCBI C++ ToolKit: CSocketReaderWriter Class Reference
Public Member Functions CSocketReaderWriter (CSocket *sock, EOwnership if_to_own=eNoOwnership, EIO_WriteMethod write_method=eIO_WritePersist) virtual ERW_Result Read (void *buf, size_t count, size_t *bytes_read=0) Read as many as "count" bytes into a buffer pointed to by the "buf" argument. More...
virtual ERW_Result PendingCount (size_t *count) Via parameter "count" (which is guaranteed to be supplied non-NULL) return the number of bytes that are ready to be read from the input device without blocking. More...
virtual ERW_Result Pushback (const void *buf, size_t count, void *del_ptr) This method gets called by RStream buffer destructor to return buffered yet still unread (from the stream) portion of data back to the device. More...
virtual ERW_Result Write (const void *buf, size_t count, size_t *bytes_written=0) Write up to "count" bytes from the buffer pointed to by the "buf" argument onto the output device. More...
virtual ERW_Result Flush (void) Flush pending data (if any) down to the output device. More...
const STimeout * GetTimeout (EIO_Event event) const ERW_Result SetTimeout (EIO_Event event, const STimeout *timeout) Public Member Functions inherited from IReaderWriter virtual ~IReaderWriter () Public Member Functions inherited from IReader virtual ~IReader () Public Member Functions inherited from IWriter virtual ~IWriter ()
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4