편집

다음을 통해 공유


SKFileWStream Class

Definition

A writeable stream backed by a file on the file system.

public class SKFileWStream : SkiaSharp.SKWStream
Inheritance

Constructors

SKFileWStream(String)

Creates a new SKFileWStream that wraps the file with the specified path.

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

Gets a value indicating whether the file could be opened.

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 SKFileWStream 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)
IsPathSupported(String)

Determines whether the specified path is supported by a SKFileWStream.

NewLine()

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

(Inherited from SKWStream)
OpenStream(String)

Opens a write-only stream to the specified file.

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