Type Alias gimli::read::EndianRcSlice

source ·
pub type EndianRcSlice<Endian> = EndianReader<Endian, Rc<[u8]>>;
Expand description

A reference counted, non-thread-safe slice of bytes and associated endianity.

use std::rc::Rc;

let buf = Rc::from(&[1, 2, 3, 4][..]);
let reader = gimli::EndianRcSlice::new(buf, gimli::NativeEndian);

Aliased Type§

struct EndianRcSlice<Endian> { /* private fields */ }