[][src]Function sourcemap::decode_slice

pub fn decode_slice(slice: &[u8]) -> Result<DecodedMap>

Decodes a sourcemap or sourcemap index from a byte slice

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