Skip to main content

read_file_checked

Function read_file_checked 

Source
pub fn read_file_checked(path: &str) -> Result<Option<Vec<u8>>, &'static str>
Expand description

ファイルを読み込んでバイト列を返すヘルパー (Result版: 「存在しない」と「読めない」を区別)