MemoryStreamBuf Class

This class represents a memory stream buffer for I/O operations.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.RuntimeStreamBuf
          Teigha.RuntimeMemoryStreamBuf

Namespace: Teigha.Runtime
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public class MemoryStreamBuf : StreamBuf

The MemoryStreamBuf type exposes the following members.

Constructors
  Name Description
Public method MemoryStreamBuf Default constructor for the MemoryStreamBuf class.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property FileName This property represents name of the file associated with this StreamBuf object.
(Inherited from StreamBuf)
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsEof This property indicates whether current position of the file pointer for this stream buffer is at the end of file.
(Overrides StreamBufIsEof)
Public property Length This property represents the length in bytes of the file associated with this stream buffer.
(Overrides StreamBufLength)
Public property ShareMode This property represents the share mode for this StreamBuf object. It can be: ValueDescription0x10 deny read/write mode 0x20 deny write mode 0x30 deny read mode 0x40 deny none mode
(Inherited from StreamBuf)
Public property Tell This property represents the current position of the file pointer for this stream buffer.
(Overrides StreamBufTell)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CopyTo(StreamBuf) Copies bytes from this StreamBuf object to the specified StreamBuf object.
(Inherited from StreamBuf)
Public method CopyTo(StreamBuf, UInt64) Copies bytes from this StreamBuf object to the specified StreamBuf object.
(Inherited from StreamBuf)
Public method CopyTo(StreamBuf, UInt64, UInt64) Copies bytes from this stream buffer to the specified stream buffer.
(Overrides StreamBufCopyTo(StreamBuf, UInt64, UInt64))
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Public method Read Reads a byte at current position of a file pointer.
(Overrides StreamBufRead)
Public method Read(UInt32) Reads the specified number of bytes at current position of a file pointer.
(Overrides StreamBufRead(UInt32))
Public method Rewind Sets the current position of the file pointer for this stream buffer to zero.
(Overrides StreamBufRewind)
Public method Seek Moves the current position of the file pointer for this stream buffer to the specified location.
(Overrides StreamBufSeek(Int64, FilerSeekType))
Public method ToString
(Inherited from Object)
Public method Truncate Sets the length of the file associated with this stream buffer to zero.
(Overrides StreamBufTruncate)
Public method Write(Byte) Writes the byte to the current position of the file pointer for this stream buffer, and increments the pointer.
(Overrides StreamBufWrite(Byte))
Public method Write(Byte, UInt32) Writes the specified amount of bytes to the current position of the file pointer for this stream buffer, and increments the pointer by the specified amount.
(Overrides StreamBufWrite(Byte, UInt32))
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
See Also

©  Bricsys NV. All rights reserved.