How get a filesize?

Hi, How get a filesize?
I have Rust version 1.31.

Thanks

You can use std::fs::metadata and query the length.
Metadata-Filesize

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.