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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈