public static SKImageInfo DecodeBounds(Stream stream) { if (stream == null) { throw new ArgumentNullException(nameof(stream)); } return(DecodeBounds(SKStream.WrapManagedStream(stream))); }
public static SKBitmap Decode(Stream stream, SKImageInfo bitmapInfo) { if (stream == null) { throw new ArgumentNullException(nameof(stream)); } return(Decode(SKStream.WrapManagedStream(stream), bitmapInfo)); }
public static SKData Create(Stream stream, long length) { if (stream == null) { throw new ArgumentNullException(nameof(stream)); } return(Create(SKStream.WrapManagedStream(stream), length)); }