Alpha
The input provider for Virtual IO.
This interface defines four callbacks for reading the content of XML files. Each callback takes a 4-byte integer as the type of file descriptor.
xmlRegisterInputProvider
Close the file.
File descriptor
true if succeeded.
true
Determine if this input provider should handle this file.
The file name/path/url
true if the provider should handle it.
Open the file and return a file descriptor (handle) representing the file.
undefined on error, number on success.
Read from the file.
Buffer to read into, with a maximum read size of its byteLength.
number of bytes actually read, -1 on error.
The input provider for Virtual IO.
This interface defines four callbacks for reading the content of XML files. Each callback takes a 4-byte integer as the type of file descriptor.
See
xmlRegisterInputProvider