Show / Hide Table of Contents

Delegate TargetCustom.WriteDelegate

A write delegate.

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

An array of bytes.

int length

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

Returns
Type Description
long

The total number of bytes written to the target.

Remarks

The interface is the same as Write(byte[], int, int). The handler is given a bytes-like object to write. However, the handler MUST return the number of bytes written.

In this article
Back to top Generated by DocFX