編輯

共用方式為


SKAbstractManagedWStream Class

Definition

Represents a SKWStream (a writeable Skia stream).

public abstract class SKAbstractManagedWStream : SkiaSharp.SKWStream
Inheritance
SKAbstractManagedWStream
Derived

Constructors

SKAbstractManagedWStream()

Creates a new instance of SKAbstractManagedWStream.

SKAbstractManagedWStream(Boolean)

Creates a new instance of SKAbstractManagedWStream.

Properties

BytesWritten

Gets the number of bytes written so far.

(Inherited from SKWStream)
Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IgnorePublicDispose

Gets or sets a value indicating whether the call the public Dispose() should be no-op.

(Inherited from SKNativeObject)
IsDisposed

Gets or sets a value indicating whether the object has already been disposed.

(Inherited from SKNativeObject)
OwnsHandle

Gets a value indicating whether this object should destroy the underlying native object.

(Inherited from SKObject)

Methods

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the SKAbstractManagedWStream and optionally releases the managed resources.

DisposeInternal()

Triggers a dispose, ignoring the value of IgnorePublicDispose.

(Inherited from SKNativeObject)
DisposeManaged()

Implemented by derived SKObject types to destroy any managed objects.

(Inherited from SKObject)
DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

(Inherited from SKObject)
DisposeUnownedManaged() (Inherited from SKObject)
Flush()

Flush the buffer to the underlying destination.

(Inherited from SKWStream)
NewLine()

Write a newline character to the stream, if one was not already written.

(Inherited from SKWStream)
OnBytesWritten()

Implemented by derived SKAbstractManagedWStream types to specify the number of bytes currently written to the stream.

OnFlush()

Implemented by derived SKAbstractManagedWStream types to flush the bytes to the underlying stream.

OnWrite(IntPtr, IntPtr)

Implemented by derived SKAbstractManagedWStream types to copy the specified number of bytes from the specified buffer into the underlying stream.

Write(Byte[], Int32)

Write the provided data to the stream.

(Inherited from SKWStream)
Write16(UInt16)

Write a single, unsigned 16-bit integer to the stream.

(Inherited from SKWStream)
Write32(UInt32)

Write a single, unsigned 32-bit integer to the stream.

(Inherited from SKWStream)
Write8(Byte)

Write a single byte to the stream.

(Inherited from SKWStream)
WriteBigDecimalAsText(Int64, Int32)

Write a single 64-bit integer to the stream as a string.

(Inherited from SKWStream)
WriteBool(Boolean)

Write a single boolean to the stream.

(Inherited from SKWStream)
WriteDecimalAsTest(Int32)

Write a 32-bit integer to the stream as a string.

(Inherited from SKWStream)
WriteHexAsText(UInt32, Int32)

Write an unsigned, 32-bit integer to the stream as a hexadecimal string.

(Inherited from SKWStream)
WritePackedUInt32(UInt32)

Write a single, unsigned 32-bit integer to the stream in the smallest space possible.

(Inherited from SKWStream)
WriteScalar(Single)

Write a single, floating-point number to the stream.

(Inherited from SKWStream)
WriteScalarAsText(Single)

Write a single, floating-point number to the stream as text.

(Inherited from SKWStream)
WriteStream(SKStream, Int32)

Write the contents of the specified stream to this stream.

(Inherited from SKWStream)
WriteText(String)

Write a string to the stream as a string.

(Inherited from SKWStream)

Applies to