swc_core::base::sourcemap

Function decode

pub fn decode<R>(rdr: R) -> Result<DecodedMap, Error>
where R: Read,
Available on crate feature __base only.
Expand description

Decodes a sourcemap or sourcemap index from a reader

This supports both sourcemaps and sourcemap indexes unless the specialized methods on the individual types.