Difference between revisions of "API:MemoryStream"
From Kerbal Space Program Wiki
(Created page with "<!-- Autogenerated by WRAPTOOL. Yell at N3X15 if it breaks. --> {{Namespace:KSP.IO}} {{Class |name=MemoryStream |summary=summary goes here }} {{MethodsStart}} {{Method |retur...") |
|||
Line 3: | Line 3: | ||
{{Class | {{Class | ||
|name=MemoryStream | |name=MemoryStream | ||
− | |summary= | + | |summary=Useful for manipulating bytes in memory. |
}} | }} | ||
{{MethodsStart}} | {{MethodsStart}} |
Revision as of 06:39, 23 August 2012
KSP.IO Namespace
BinaryReader ·
BinaryWriter ·
File ·
FileInfo ·
FileStream ·
IOException ·
IOTools ·
IOUtils ·
MemoryStream ·
PluginConfigNode ·
PluginConfiguration ·
TextReader ·
TextWriter
MemoryStream Class
Useful for manipulating bytes in memory.
Methods
The following are methods included in MemoryStream.
Signature | Description |
---|---|
void SetLength(long value) | |
void WriteByte(byte value) | |
int ReadByte() | |
long Seek(long offset, SeekOrigin loc) | |
byte[] ToArray() | |
byte[] GetBuffer() | |
int Read(byte[] buffer, int offset, int count) | |
void Write(byte[] buffer, int offset, int count) | |
void Flush() |