bzinchenko / bpmnview

Viewing and printing business process diagrams in a popular BPMN format
MIT License
90 stars 31 forks source link

Model From Stream #8

Closed hakanseysane closed 6 years ago

hakanseysane commented 6 years ago

Hi, we have a web service and we save all files (bpmn) as binary data on the database. i trying to get model from base64 but there is no feature like this in BPMN.Sharp.

Can you add a new feature about getting model from binary data, not only filename.

Thanks

bzinchenko commented 6 years ago

Hello @hakanseysane. Your question is duplicate of another issue, which is resolved long ago: #2. Please use the function Model Parse(string xml) to load XML directly. You can store XML as base64 or as a string field in your database. I see no merit in base64 encoding. But there is no harm either. Do not forget to decode base64 prior to function call.