Struct symbolic_unreal::Unreal4Crash
source · pub struct Unreal4Crash { /* private fields */ }
Expand description
Unreal Engine 4 crash file.
Implementations§
source§impl Unreal4Crash
impl Unreal4Crash
sourcepub fn from_slice(bytes: &[u8]) -> Result<Unreal4Crash, Unreal4Error>
pub fn from_slice(bytes: &[u8]) -> Result<Unreal4Crash, Unreal4Error>
Creates an instance of Unreal4Crash
from the original, compressed bytes.
sourcepub fn files(&self) -> impl Iterator<Item = &Unreal4CrashFile>
pub fn files(&self) -> impl Iterator<Item = &Unreal4CrashFile>
Files within the UE4 crash dump.
sourcepub fn file_count(&self) -> usize
pub fn file_count(&self) -> usize
Count of files within the UE4 crash dump.
sourcepub fn file_by_index(&self, index: usize) -> Option<&Unreal4CrashFile>
pub fn file_by_index(&self, index: usize) -> Option<&Unreal4CrashFile>
Get a Unreal4CrashFile
by its index.
sourcepub fn file_contents_by_index(
&self,
index: usize
) -> Result<Option<&[u8]>, Unreal4Error>
pub fn file_contents_by_index(
&self,
index: usize
) -> Result<Option<&[u8]>, Unreal4Error>
Get the contents of a file by its index.
sourcepub fn get_minidump_slice(&self) -> Result<Option<&[u8]>, Unreal4Error>
pub fn get_minidump_slice(&self) -> Result<Option<&[u8]>, Unreal4Error>
Get the Minidump file bytes.
sourcepub fn get_file_contents(
&self,
file_meta: &Unreal4CrashFile
) -> Result<&[u8], Unreal4Error>
pub fn get_file_contents(
&self,
file_meta: &Unreal4CrashFile
) -> Result<&[u8], Unreal4Error>
Get file content.