I have a WCF service which stores documents(PDF files) uploaded by a user to a file server.Now,I want to convert these PDF files to bytes so an iOS client can download them on iPad.I do not want to store the PDFs as BLOB in SQL,just convert into bytes and send them to iPad. Any links/sample code to achieve this is much appreciated.
Share
You can simply read the PDF file into a byte array: