Method FlushBuffer
FlushBuffer(IndexOutput, Int64)
Flushes the in-memory buffer to the given output, copying at most
numBytes
.
NOTE: this method does not refill the buffer, however it does advance the buffer position.
Declaration
protected int FlushBuffer(IndexOutput out, long numBytes)
Parameters
Type | Name | Description |
---|---|---|
IndexOutput | out | |
System.Int64 | numBytes |
Returns
Type | Description |
---|---|
System.Int32 | the number of bytes actually flushed from the in-memory buffer. |