An object with several loader utility functions.
[page:TypedArray array] — A stream of bytes as a typed array.
The function takes a stream of bytes as input and returns a string representation.
[page:String url] — The url to extract the base url from.
Extract the base from the URL.
[page:String url] — The absolute or relative url resolve. [page:String path] — The base path for relative urls to be resolved against.
Resolves relative urls against the given path. Absolute paths, data urls, and blob urls will be returned as is. Invalid urls will return an empty string.