Return the file I/O factory currently in used by audio decoders.
If the default is being used, return None.
Set the file I/O factory instance to be used by audio decoders.
If factory=None is provided, revert to the default.
File I/O protocol.
This static duck type defines methods required to be used by
palace decoders. Despite its name, a FileIO is not necessarily
created from a file, but any seekable finite input stream.
Many classes defined in the standard library module io
are compatible with this protocol.
Close the file.
Read at most size bytes, returned as bytes.
Move to new file position and return the file position.
offset (int) – A byte count.
whence (int, optional) – Either 0 (default, move relative to start of file),
1 (move relative to current position)
or 2 (move relative to end of file).