Delegate StreamInterceptor (1.59.0)

public delegate void StreamInterceptor(byte[] buffer, int offset, int count);

A delegate used to intercept stream data without modifying it. The parameters should always be validated before the delegate is called, so the delegate itself does not need to validate them again.

Namespace

Google.Apis.Http

Assembly

Google.Apis.Core.dll

Parameters

NameDescription
bufferByte[]

The buffer containing the data.

offsetInt32

The offset into the buffer.

countInt32

The number of bytes being read/written.

Extension Method