Skip to main content

drive_download_binary

Function drive_download_binary 

Source
pub fn drive_download_binary(
    token: &str,
    file_id: &str,
) -> Result<Vec<u8>, &'static str>
Expand description

ファイル本文を生バイト列でダウンロード(alt=media)。画像/zip 等のバイナリ用。 HttpsGetResult.body_bytes を使うため lossy UTF-8 変換によるデータ破損が起きない。