read Response
abstract fun readResponse(dataOut: Array<Byte>, bytesToRead: Int, bytesRead: IntRef, callback: CefCallback): Boolean
Read response data. If data is available immediately copy up to |bytesToRead| bytes into |dataOut|, set |bytesRead| to the number of bytes copied, and return true. To read the data at a later time set |bytesRead| to 0, return true and call CefCallback.Continue() when the data is available. To indicate response completion return false.
Return
True if more data is or will be available.
Parameters
data Out
Write data to this buffer.
bytes To Read
Size of the buffer.
bytes Read
Number of bytes written to the buffer.
callback
Callback to execute if data will be available asynchronously.