OK, I checked it again. There is a public method in both the reader classes for mdl's and hmp's called
long Load(unsigned char * ptr, int size);
which might do the job for the opening from a buffer --- but that is just a guess, because comments are rare along the SDK sources. Though, in the writer classes there is just a method
and nothing more.
So, @JCL: can you confirm 1.) that the method "Load" is intended for reading from a buffer and 2.) that there is no method for writing to a buffer at the moment? In the case of 2.), would you mind to add methods to the hmp and mdl writer classes for that?
Best regards,
-Christian