SKData

Constructors

this
this(void* x, bool owns)
Undocumented in source.

Members

Functions

AsSpan
const(byte)[] AsSpan()
Undocumented in source. Be warned that the author may not have intended to support it.
Data
void* Data()
Undocumented in source. Be warned that the author may not have intended to support it.
Dispose
void Dispose(bool disposing)
Undocumented in source. Be warned that the author may not have intended to support it.
Dispose
void Dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
IsEmpty
bool IsEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
ReferenceNative
void ReferenceNative()
Undocumented in source. Be warned that the author may not have intended to support it.
SaveTo
void SaveTo(DataWriter target)
Undocumented in source. Be warned that the author may not have intended to support it.
Size
long Size()
Undocumented in source. Be warned that the author may not have intended to support it.
Subset
SKData Subset(ulong offset, ulong length)
Undocumented in source. Be warned that the author may not have intended to support it.
ToArray
byte[] ToArray()
Undocumented in source. Be warned that the author may not have intended to support it.
UnreferenceNative
void UnreferenceNative()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Create
SKData Create(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(SKStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(SKStream stream, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(SKStream stream, ulong length)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(SKStream stream, long length)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(void* address, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(void* address, size_t length, SKDataReleaseDelegate releaseProc)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKData Create(void* address, size_t length, SKDataReleaseDelegate releaseProc, void* context)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateCopy
SKData CreateCopy(void* bytes, ulong length)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateCopy
SKData CreateCopy(byte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateCopy
SKData CreateCopy(byte[] bytes, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
Empty
SKData Empty()
Undocumented in source. Be warned that the author may not have intended to support it.
EnsureStaticInstanceAreInitialized
void EnsureStaticInstanceAreInitialized()
Undocumented in source. Be warned that the author may not have intended to support it.
FromCString
SKData FromCString(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
GetObject
SKData GetObject(void* handle)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

CopyBufferSize
enum int CopyBufferSize;
Undocumented in source.

Inherited Members

From SKObject

Handle
void* Handle()
Undocumented in source. Be warned that the author may not have intended to support it.
Handle
void Handle(void* value)
Undocumented in source. Be warned that the author may not have intended to support it.
registerOwnedObject
void registerOwnedObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
registerKeepAliveObject
void registerKeepAliveObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeUnownedManaged
void DisposeUnownedManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeManaged
void DisposeManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeNative
void DisposeNative()
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, bool unrefExisting, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
RegisterHandle
void RegisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
DeregisterHandle
void DeregisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
GetInstance
bool GetInstance(void* handle, TSkiaObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
PreventPublicDisposal
void PreventPublicDisposal()
Undocumented in source. Be warned that the author may not have intended to support it.
RevokeOwnership
void RevokeOwnership(SKObject newOwner)
Undocumented in source. Be warned that the author may not have intended to support it.
OwnedBy
T OwnedBy(T child, SKObject owner)
Undocumented in source. Be warned that the author may not have intended to support it.
Owned
T Owned(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
Referenced
T Referenced(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
PtrToStructureArray
T[] PtrToStructureArray(void* intPtr, int count)
Undocumented in source. Be warned that the author may not have intended to support it.

From ISKNonVirtualReferenceCounted

ReferenceNative
void ReferenceNative()
Undocumented in source.
UnreferenceNative
void UnreferenceNative()
Undocumented in source.

Meta