Memory Stream
Creates a stream whose backing store is memory.
Constructors
Link copied to clipboard
constructor()
Initializes a new instance of the MemoryStream class with an expandable capacity initialized to zero.
Initializes a new instance of the MemoryStream class with an expandable capacity initialized as specified.
Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array.
Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array, with writable set as specified.
Initializes a new non-resizable instance of the MemoryStream class based on the specified region of a byte array.
Initializes a new non-resizable instance of the MemoryStream class based on the specified region of a byte array, with writable set as specified.
constructor(buffer: Array<Byte>, index: Int, count: Int, writable: Boolean, publiclyVisible: Boolean)
Initializes a new instance of the MemoryStream class based on the specified region of a byte array, with writable set as specified, and publiclyVisible set as specified.
Properties
Functions
Link copied to clipboard
Get an OutputStream that will write to this MemoryStream, at the current position.
Link copied to clipboard
Gets the current position within the stream.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the position within the current stream to the specified value.
Link copied to clipboard
Sets the current position within the stream.
Link copied to clipboard
Link copied to clipboard