Skip to main content

get_platform_reader

Function get_platform_reader 

Source
pub fn get_platform_reader(path: &str) -> Box<dyn ChunkReader>
Expand description

Creates a new platform-specific chunk reader.

Returns a file-based reader for native platforms and an HTTP-based reader for WebAssembly.

ยงArguments

  • path - The base path for the reader