You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For MSDelta in particular there is a DELTA_INPUT structure that can be used to specify in-memory data instead of a file path.
For byte[] there is a somewhat straightforward mapping for input, possibly IntPtr too if it is a blob of memory, but Stream is more difficult because I'd have to buffer that into memory in its entirety first because using DELTA_INPUT since I see no way to describe to MSDelta a stream-like input or output structure.
So if you have the expectation that you could feed large inputs via Stream to MSDelta (that exceed the memory of the PC) then that would not be true.
Notwithstanding that caveat I could put this on the todo list.
I'm currently pinvoking into a C dll that returns IntPtrs that I then process and record. My need currently is to do delta encoding in-memory, I can use either IntPtr source/destination or copy it into managed memory (byte[]).
Stream was just what came to mind next after byte[] and IntPtr :)
Hello, can you add method signatures for byte[], IntPtr and Stream to the ApplyDelta and CreateDelta methods?
The text was updated successfully, but these errors were encountered: