Convert bson file in pdf

I had a bson file, and i dont know what have inside.
Through python, I realized that I have a pdf file inside with images and text.Note:
I don’t have much experience in python The type of data is bytes.
How i can convert this file to a readable format?

1 Like