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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe page details the \u003ccode\u003eStreamInterceptor\u003c/code\u003e delegate, used for intercepting stream data without altering it, and it is found within the \u003ccode\u003eGoogle.Apis.Http\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this resource is 1.69.0, with version 1.68.0 being the current focus, alongside older versions 1.60.0, 1.59.0, 1.55.0, and 1.50.0 also being available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStreamInterceptor\u003c/code\u003e delegate takes three parameters: \u003ccode\u003ebuffer\u003c/code\u003e (a byte array), \u003ccode\u003eoffset\u003c/code\u003e (an integer), and \u003ccode\u003ecount\u003c/code\u003e (an integer), which are validated before being passed to the delegate.\u003c/p\u003e\n"],["\u003cp\u003eThe relevant assembly for this is \u003ccode\u003eGoogle.Apis.Core.dll\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn extension method, \u003ccode\u003eUtilities.ThrowIfNull<T>(T, string)\u003c/code\u003e, is also documented alongside the \u003ccode\u003eStreamInterceptor\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]