public int sendBuffer(org.apache.flink.python.api.streaming.data.SingleElementPushBackIterator<IN> input)
Extracts records from an iterator and writes them to the memory-mapped file. This method assumes that all values
in the iterator are of the same type. This method does NOT take care of synchronization. The caller must
guarantee that the file may be written to before calling this method.