SKMemoryStream Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SKMemoryStream() |
Creates a new instance of SKMemoryStream with an empty buffer. |
SKMemoryStream(SKData) |
Creates a new instance of SKMemoryStream with the buffer being the provided data. |
SKMemoryStream(Byte[]) |
Creates a new instance of SKMemoryStream with a copy of the provided data. |
SKMemoryStream(UInt64) |
Creates a new instance of SKMemoryStream with a buffer size of the specified size. |
SKMemoryStream()
SKMemoryStream(SKData)
Creates a new instance of SKMemoryStream with the buffer being the provided data.
public SKMemoryStream (SkiaSharp.SKData data);
Parameters
- data
- SKData
The data to initialize the stream with.
Applies to
SKMemoryStream(Byte[])
Creates a new instance of SKMemoryStream with a copy of the provided data.
public SKMemoryStream (byte[] data);
Parameters
- data
- Byte[]
The data to initialize the stream with.
Applies to
SKMemoryStream(UInt64)
Creates a new instance of SKMemoryStream with a buffer size of the specified size.
public SKMemoryStream (ulong length);
Parameters
- length
- UInt64
The size of the stream buffer.
Applies to
SkiaSharp