Ran into this recently. It&#x27;s not open_memstream but same idea: <a href="https:&#x2F;&#x2F;github.com&#x2F;NimbusKit&#x2F;memorymapping" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;NimbusKit&#x2F;memorymapping</a>