Type Alias gimli::read::EndianArcSlice
source · pub type EndianArcSlice<Endian> = EndianReader<Endian, Arc<[u8]>>;
Expand description
An atomically reference counted, thread-safe slice of bytes and associated endianity.
use std::sync::Arc;
let buf = Arc::from(&[1, 2, 3, 4][..]);
let reader = gimli::EndianArcSlice::new(buf, gimli::NativeEndian);
Aliased Type§
struct EndianArcSlice<Endian> { /* private fields */ }