mFrame
載入中...
搜尋中...
無符合項目
mframe::lang::Flushable 結構 參考文件abstract
類別mframe::lang::Flushable的繼承圖:
mframe::lang::Interface mframe::io::Buffer mframe::io::SimpleReader mframe::io::SimpleWriter mframe::io::ByteBuffer mframe::io::RingBuffer mframe::io::ByteBufferInvert mframe::io::PrintBuffer

公開方法(Public Methods)

virtual void flush (void) override
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Interface
virtual ~Interface (void)=default
 Destroy the struct object.
 
virtual mframe::lang::ObjectgetObject (void) override
 取得類Object
 

函式成員說明文件

◆ flush()

virtual void mframe::lang::Flushable::flush ( void )
pure virtual

Flushes this output stream and forces any buffered output bytes to be written out. The general contract of flush is that calling it is an indication that, if any bytes previously written have been buffered by the implementation of the output stream, such bytes should immediately be written to their intended destination.

If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.

The flush method of OutputStream does nothing.

例外
IOExceptionif an I/O error occurs.

實作於 mframe::io::ByteBuffer, mframe::io::RingBuffer, mframe::io::SimpleReader, 及 mframe::io::SimpleWriter.


此結構(structure) 文件是由下列檔案中產生: