From b5b80cc2130cdda15abd9578293022e777cb3e8b Mon Sep 17 00:00:00 2001 From: rogertyang Date: Wed, 16 Aug 2023 16:22:10 +0800 Subject: [PATCH] src: fix comment on StreamResource --- src/stream_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream_base.h b/src/stream_base.h index e96ff036157ab9..8f6a7b22ea1f2f 100644 --- a/src/stream_base.h +++ b/src/stream_base.h @@ -225,7 +225,7 @@ class StreamResource { // These need to be implemented on the readable side of this stream: // Start reading from the underlying resource. This is called by the consumer - // when more data is desired. Use `EmitAlloc()` and `EmitData()` to + // when more data is desired. Use `EmitAlloc()` and `EmitRead()` to // pass data along to the consumer. virtual int ReadStart() = 0; // Stop reading from the underlying resource. This is called by the