Space Engineers
Public Member Functions | Protected Member Functions | Properties | List of all members
VRage.Compression.MyStreamWrapper Class Reference

Stream wrapper which will close both stream and other IDisposable object More...

Inheritance diagram for VRage.Compression.MyStreamWrapper:

Public Member Functions

 MyStreamWrapper (Stream innerStream, IDisposable objectToClose)
 
override void Flush ()
 
override int Read (byte[] buffer, int offset, int count)
 
override long Seek (long offset, SeekOrigin origin)
 
override void SetLength (long value)
 
override void Write (byte[] buffer, int offset, int count)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Properties

override bool CanRead [get]
 
override bool CanSeek [get]
 
override bool CanWrite [get]
 
override long Length [get]
 
override long Position [get, set]
 

Detailed Description

Stream wrapper which will close both stream and other IDisposable object

Definition at line 12 of file MyStreamWrapper.cs.

Constructor & Destructor Documentation

VRage.Compression.MyStreamWrapper.MyStreamWrapper ( Stream  innerStream,
IDisposable  objectToClose 
)
inline

Definition at line 17 of file MyStreamWrapper.cs.

Member Function Documentation

override void VRage.Compression.MyStreamWrapper.Dispose ( bool  disposing)
inlineprotected

Definition at line 23 of file MyStreamWrapper.cs.

override void VRage.Compression.MyStreamWrapper.Flush ( )
inline

Definition at line 48 of file MyStreamWrapper.cs.

override int VRage.Compression.MyStreamWrapper.Read ( byte[]  buffer,
int  offset,
int  count 
)
inline

Definition at line 70 of file MyStreamWrapper.cs.

override long VRage.Compression.MyStreamWrapper.Seek ( long  offset,
SeekOrigin  origin 
)
inline

Definition at line 75 of file MyStreamWrapper.cs.

override void VRage.Compression.MyStreamWrapper.SetLength ( long  value)
inline

Definition at line 80 of file MyStreamWrapper.cs.

override void VRage.Compression.MyStreamWrapper.Write ( byte[]  buffer,
int  offset,
int  count 
)
inline

Definition at line 85 of file MyStreamWrapper.cs.

Property Documentation

override bool VRage.Compression.MyStreamWrapper.CanRead
get

Definition at line 34 of file MyStreamWrapper.cs.

override bool VRage.Compression.MyStreamWrapper.CanSeek
get

Definition at line 39 of file MyStreamWrapper.cs.

override bool VRage.Compression.MyStreamWrapper.CanWrite
get

Definition at line 44 of file MyStreamWrapper.cs.

override long VRage.Compression.MyStreamWrapper.Length
get

Definition at line 54 of file MyStreamWrapper.cs.

override long VRage.Compression.MyStreamWrapper.Position
getset

Definition at line 59 of file MyStreamWrapper.cs.


The documentation for this class was generated from the following file: