Function lancelot::rsrc::get_buf [−][src]
pub fn get_buf(rsrc: Rsrc) -> Vec<u8>
Expand description
Fetch the contents of the given resource.
use lancelot::rsrc::*; assert_eq!(get_buf(Rsrc::K32)[0], b'M'); assert_eq!(get_buf(Rsrc::K32)[1], b'Z');