Editar

Compartilhar via


SKMemoryStream Constructors

Definition

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()

Creates a new instance of SKMemoryStream with an empty buffer.

public SKMemoryStream ();

Applies to

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