C# Class SkiaSharp.SKData

Inheritance: SKObject
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
AsStream ( ) : Stream
AsStream ( bool streamDisposesData ) : Stream
FromMallocMemory ( IntPtr bytes, ulong length ) : SKData
SKData ( ) : System
SKData ( IntPtr bytes, ulong length ) : System
SKData ( byte bytes ) : System
SaveTo ( Stream target ) : void
Subset ( ulong offset, ulong length ) : SKData
ToArray ( ) : byte[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SKData ( IntPtr x, bool owns ) : System

Method Details

AsStream() public method

public AsStream ( ) : Stream
return Stream

AsStream() public method

public AsStream ( bool streamDisposesData ) : Stream
streamDisposesData bool
return Stream

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FromMallocMemory() public static method

public static FromMallocMemory ( IntPtr bytes, ulong length ) : SKData
bytes System.IntPtr
length ulong
return SKData

SKData() public method

public SKData ( ) : System
return System

SKData() public method

public SKData ( IntPtr bytes, ulong length ) : System
bytes System.IntPtr
length ulong
return System

SKData() public method

public SKData ( byte bytes ) : System
bytes byte
return System

SaveTo() public method

public SaveTo ( Stream target ) : void
target Stream
return void

Subset() public method

public Subset ( ulong offset, ulong length ) : SKData
offset ulong
length ulong
return SKData

ToArray() public method

public ToArray ( ) : byte[]
return byte[]