|
PLCnext API Documentation 23.9.0.25
|

Public Member Functions | |
| MemoryStream (void) | |
| Initializes a new instance of the T:System.IO.MemoryStream class with an expandable capacity initialized to zero. | |
| MemoryStream (size_t capacity) | |
| Initializes a new instance of the T:System.IO.MemoryStream class with an expandable capacity initialized as specified. More... | |
| MemoryStream (byte *buffer, size_t bufferSize) | |
| Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified byte array. More... | |
| MemoryStream (byte *buffer, size_t bufferSize, boolean writable) | |
| Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified byte array with the P:System.IO.MemoryStream.CanWrite property set as specified. More... | |
| MemoryStream (byte *buffer, size_t bufferSize, size_t index, size_t count) | |
| Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified region (index) of a byte array. More... | |
| MemoryStream (byte *buffer, size_t bufferSize, size_t index, size_t count, boolean writable) | |
| Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified region of a byte array, with the P:System.IO.MemoryStream.CanWrite property set as specified. More... | |
| MemoryStream (byte *buffer, size_t bufferSize, size_t index, size_t count, boolean writable, boolean publiclyVisible) | |
| Initializes a new instance of the T:System.IO.MemoryStream class based on the specified region of a byte array, with the P:System.IO.MemoryStream.CanWrite property set as specified, and the ability to call M:System.IO.MemoryStream.GetBuffer set as specified. More... | |
| MemoryStream (const MemoryStream &arg)=delete | |
| Copy constructor. | |
| MemoryStream & | operator= (const MemoryStream &arg)=delete |
| Assignment operator. | |
| virtual | ~MemoryStream (void) |
| Destructs this instance and frees all resources. | |
| boolean | CanRead (void) override |
| boolean | CanWrite (void) override |
| boolean | CanSeek (void) override |
| size_t | GetLength (void) override |
| void | SetLength (size_t argLength) override |
| size_t | GetPosition (void) override |
| void | SetPosition (size_t argPostion) override |
| virtual size_t | GetCapacity (void) |
| virtual void | SetCapacity (size_t argCapacity) |
| void | Flush (void) override |
| size_t | Seek (size_t offset, SeekOrigin origin) override |
| size_t | Read (byte *pBuffer, size_t bufferSize, size_t offset, size_t count) override |
| std::vector< byte > | ToArray (void) |
| void | Write (const byte *pBuffer, size_t bufferSize, size_t offset, size_t count) override |
| virtual void | WriteTo (Stream &stream) |
Public Member Functions inherited from Arp::System::Commons::Io::Stream | |
| Stream (void) | |
| Constructs an Stream instance. | |
| Stream (const Stream &arg)=delete | |
| Copy constructor. | |
| Stream & | operator= (const Stream &arg)=delete |
| Assignment operator. | |
| virtual | ~Stream (void) |
| Destructs this instance and frees all resources. | |
| virtual boolean | CanRead (void)=0 |
| virtual boolean | CanWrite (void)=0 |
| virtual boolean | CanSeek (void)=0 |
| virtual size_t | GetLength (void)=0 |
| virtual void | SetLength (size_t length)=0 |
| virtual size_t | GetPosition (void)=0 |
| virtual void | SetPosition (size_t position)=0 |
| virtual void | Flush (void)=0 |
| virtual size_t | Seek (size_t offset, SeekOrigin origin)=0 |
| virtual size_t | Read (byte *pBuffer, size_t bufferSize, size_t offset, size_t count)=0 |
| virtual void | Write (const byte *pBuffer, size_t bufferSize, size_t offset, size_t count)=0 |
| virtual byte | ReadByte (void) |
| virtual void | WriteByte (byte value) |
| virtual void | CopyTo (Stream &other) |
| void | Dispose (void) |
| void | Close (void) |
Protected Member Functions | |
| void | InternalDispose (void) override |
Protected Member Functions inherited from Arp::System::Commons::Io::Stream | |
| boolean | IsDisposed (void) |
| void | CheckDisposed (void) |
| virtual void | InternalDispose (void)=0 |
Additional Inherited Members | |
Static Public Attributes inherited from Arp::System::Commons::Io::Stream | |
| static NullStream | Empty |
|
inline |
Initializes a new instance of the T:System.IO.MemoryStream class with an expandable capacity initialized as specified.
| capacity | The initial size of the internal array in bytes. |
| T:System.ArgumentOutOfRangeException | capacity is negative. |
|
inline |
Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified byte array.
| buffer | The array of unsigned bytes from which to create the current stream. |
| T:System.ArgumentNullException | buffer is null. |
|
inline |
Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified byte array with the P:System.IO.MemoryStream.CanWrite property set as specified.
| buffer | The array of unsigned bytes from which to create this stream. |
| writable | The setting of the P:System.IO.MemoryStream.CanWrite property, which determines whether the stream supports writing. |
| T:System.ArgumentNullException | buffer is null. |
|
inline |
Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified region (index) of a byte array.
| count | The length of the stream in bytes. |
| buffer | The array of unsigned bytes from which to create this stream. |
| index | The index into buffer at which the stream begins. |
| T:System.ArgumentNullException | buffer is null. |
| T:System.ArgumentOutOfRangeException | index or count is less than zero. |
| T:System.ArgumentException | The sum of index and count is greater than the length of buffer. |
|
inline |
Initializes a new non-resizable instance of the T:System.IO.MemoryStream class based on the specified region of a byte array, with the P:System.IO.MemoryStream.CanWrite property set as specified.
| count | The length of the stream in bytes. |
| buffer | The array of unsigned bytes from which to create this stream. |
| writable | The setting of the P:System.IO.MemoryStream.CanWrite property, which determines whether the stream supports writing. |
| index | The index in buffer at which the stream begins. |
| T:System.ArgumentException | The sum of index and count is greater than the length of buffer. |
| T:System.ArgumentNullException | buffer is null. |
| T:System.ArgumentOutOfRangeException | index or count are negative. |
|
inline |
Initializes a new instance of the T:System.IO.MemoryStream class based on the specified region of a byte array, with the P:System.IO.MemoryStream.CanWrite property set as specified, and the ability to call M:System.IO.MemoryStream.GetBuffer set as specified.
| count | The length of the stream in bytes. |
| buffer | The array of unsigned bytes from which to create this stream. |
| writable | The setting of the P:System.IO.MemoryStream.CanWrite property, which determines whether the stream supports writing. |
| publiclyVisible | true to enable M:System.IO.MemoryStream.GetBuffer, which returns the unsigned byte array from which the stream was created; otherwise, false. |
| index | The index into buffer at which the stream begins. |
| T:System.ArgumentOutOfRangeException | index or count is negative. |
| T:System.ArgumentException | The buffer length minus index is less than count. |
| T:System.ArgumentNullException | buffer is null. |
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overrideprotectedvirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.
|
overridevirtual |
Implements Arp::System::Commons::Io::Stream.