I’m trying to find the filesize of a resource.
Are there any better ways to do it than using the len
function like this?
len $resource.Content
This method is supposedly taxing on the memory, because it requires you to load the file into memory and count the bytes. Is there a way to read the filesize somehow from the file properties (there is no access to File from Resource type)?