Wire --raw through InputOptions to streams
set_raw() on IsoStream and DiscStream sets keys to None. open_input passes raw flag to streams via InputOptions. Streams skip decrypt when raw=true.
This commit is contained in:
@@ -220,6 +220,11 @@ impl IsoStream {
|
||||
|
||||
Ok(true)
|
||||
}
|
||||
|
||||
/// Skip decryption — return raw encrypted bytes.
|
||||
pub fn set_raw(&mut self) {
|
||||
self.decrypt_keys = DecryptKeys::None;
|
||||
}
|
||||
}
|
||||
|
||||
impl IOStream for IsoStream {
|
||||
|
||||
Reference in New Issue
Block a user