Type Definition gimli::EndianArcSlice[][src]

type EndianArcSlice<Endian> = EndianReader<Endian, Arc<[u8]>>;

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);