From ec198284cc6acac997a2f6ebf3d1afef3618ba2e Mon Sep 17 00:00:00 2001 From: Fredy Wijaya Date: Wed, 22 May 2024 21:03:25 -0500 Subject: [PATCH] mobile: Update a comment about on_data_ callback (#34312) This PR updates the comment for on_data_ callback related to the length. Risk Level: low (comment update only) Testing: n/a Docs Changes: n/a Release Notes: n/a Platform Specific Features: n/a Signed-off-by: Fredy Wijaya --- mobile/library/common/engine_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/library/common/engine_types.h b/mobile/library/common/engine_types.h index 34c32675af4c..a923751d69c0 100644 --- a/mobile/library/common/engine_types.h +++ b/mobile/library/common/engine_types.h @@ -64,6 +64,7 @@ struct EnvoyStreamCallbacks { * * The callback function pases the following parameters. * - buffer: the data received. + * - length: the length of data to read. It will always be <= `buffer.length()` * - end_stream: whether the data is the last data frame. * - stream_intel: contains internal stream metrics. */