rspirv::binary

Function parse_bytes

Source
pub fn parse_bytes(
    binary: impl AsRef<[u8]>,
    consumer: &mut dyn Consumer,
) -> Result<()>
Expand description

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