How to get correct size of Rule-File-Binary (pdf)
I'm getting always 1-2 bytes more, when trying to get the file size of Rule-File-Binary (pdf).
I've uploaded a PDF file which is of size 80303 and with the tried solutions, I'm getting always 1 byte more
Tried solutions:
- @Default.Base64Decode(samplePDF.pyFileSource) -> 80304
- 
	String FilePath = myStepPage.getProperty("samplePDF.pyFilePath").toString(); 
 PRFile afile = new PRFile(FilePath); // Create a PRFile object with path provided
 long len=afile.length(); // get the length of the file
 tools.putParamValue("FileSize", len); -> 80304
- 
	@String.length(@String.trim(samplePDF.pyFileSource)) * 3/4 -> 80304 
 
            
    