Type Definition chakracore_sys::JsTTDReadBytesFromStreamCallback [] [src]

type JsTTDReadBytesFromStreamCallback = Option<unsafe extern "system" fn(_: JsTTDStreamHandle, _: *mut byte, _: usize, _: *mut usize) -> bool>;

TTD API -- may change in future versions: A callback for reading data from a handle. The JsTTDStreamHandle to read the data from. The buffer to place the data into. The max number of bytes that should be read. The actual number of bytes read and placed in the buffer. true if the read was successful false otherwise.