Reference · Documents and pages · lib.rs
privacy_findings Function
What the file gives away, in rows for the Privacy Check.
func privacyFindings(input: Data, lang: String) throws -> [PrivacyFinding]public static PrivacyFinding[] PrivacyFindings(byte[] input, string lang)pub fn privacy_findings(input: Vec<u8>, lang: String) -> Result<Vec<PrivacyFinding>, PagewerkError>Parameters
| Name | Type | Swift / C# |
|---|---|---|
input | Vec<u8> | input |
lang | String | lang |
Returns
Vec<PrivacyFinding>
Errors
Throws PagewerkError:
Unreadable: “unreadable: {message}”Refused: “refused: {message}”WrongPassword: “wrong password”
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.
Live demo
Engine 0.1.0-e9147c0 · runs in this browser, your file never leaves itSamples:
photo.pdfImage page, 40 KBtext-8-pages.pdfText, 8 pages, 10 KB