Type Definition chakracore_sys::JsTTDWriteBytesToStreamCallback [] [src]

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

TTD API -- may change in future versions: A callback for writing data to a handle. The JsTTDStreamHandle to write the data to. The buffer to copy the data from. The max number of bytes that should be written. The actual number of bytes written to the HANDLE. true if the write was successful false otherwise.