/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
usecrate::result::{Error, Result}; use log::{error, trace}; use std::ffi::CStr; use std::fs::File; use std::io::{Read, Result as IOResult, Seek, SeekFrom}; use std::path::Path;
pubmod result;
#[cfg(target_os = "windows")] mod windows;
#[cfg(any(target_os = "macos", target_os = "ios"))] mod macos;
// This does actually depend on the platform, so it's not in this // impl nor source file but in the platform-dependant modules listed at // the end of this file self.get_build_id_bytes(&buffer, note_name)
}
pubfn read_string_build_id(&mutself, note_name: &str) -> Result<String> {
trace!("BuildIdReader::read_string_build_id {}", note_name); let b = self.read_raw_build_id(note_name).map_err(|err| {
error!( "BuildIdReader::read_string_build_id failed to read raw build id with error {}",
err
);
err
})?; Self::string_from_bytes(&b)
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.