Function rspirv::binary::parse_bytes[][src]

pub fn parse_bytes<T: AsRef<[u8]>>(
    binary: T,
    consumer: &mut Consumer
) -> Result<()>

Parses the given binary and consumes the module using the given consumer.