Skip to content

Commit

Permalink
Resolves #63
Browse files Browse the repository at this point in the history
  • Loading branch information
Alastair Carey committed Dec 18, 2022
1 parent 3a51813 commit b3ae56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdfium.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ impl Pdfium {

let bytes: Vec<u8> = u8_array.to_vec();

self.load_pdf_from_bytes_owned(bytes, password)
self.load_pdf_from_byte_vec(bytes, password)
}

/// Creates a new, empty [PdfDocument] in memory.
Expand Down

0 comments on commit b3ae56b

Please sign in to comment.