Show / Hide Table of Contents

Delegate TargetCustom.WriteDelegate

A write delegate.

Namespace: NetVips
Assembly: NetVips.dll
Syntax
public delegate long WriteDelegate(byte[] buffer, int length);
Parameters
Type Name Description
System.Byte[] buffer

An array of bytes.

System.Int32 length

The number of bytes to be written to the current target.

Returns
Type Description
System.Int64

The total number of bytes written to the target.

Remarks

The interface is the same as System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32), so the handler is given a bytes-like object to write. However, the handler MUST return the number of bytes written.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX