i am taking byte array as input and it should convert to pdf type file without writing into local system and this is my code
public File convertToFile(byte[] data) throws