Jump to content

KPS.IO and The Stream Class


Recommended Posts

Im pretty new to ksp Plugin Development, and im just playing around with it at the moment.
So as i coud see, KSP.io is trying to expose the most important Classes from System.IO, but not all, for security reasons?

For some reason they are not Exposing MemoryStream.WriteTo(Stream s); (maybe because there is no "Stream"?)

I wanted to ask how i can access these classes/Functions, because its not in KSP.io, and i need it (i think) (if there are other options tell me :))
Im also going to test if i can reference an libary that is referencing System.IO.Stream

Same also counts for System.IO.Encoding.

Thanks for any help!

Edited by HurricanKai
Link to comment
Share on other sites

  • 2 weeks later...
8 hours ago, clown_baby said:

Hey I'm super interested in this. Potentially streaming rendertextures/texture2ds. Did you happen to figure anything out?

As said earlier in the thread you can use the normal System.IO class now. KSP.IO should be used only for the config serialization tricks

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...