aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/zerocopy.h
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-03-28 21:30:10 +0300
committerpg <pg@yandex-team.com>2023-03-28 21:30:10 +0300
commit25659221f18577ea38430a8ec3349836f5626b6a (patch)
tree61f1c68d385eb4bde77c5c12e055eb6f44e1f9ae /util/stream/zerocopy.h
parenta30195c57a0e043158d80a4385350eee326197f1 (diff)
downloadydb-25659221f18577ea38430a8ec3349836f5626b6a.tar.gz
Diffstat (limited to 'util/stream/zerocopy.h')
-rw-r--r--util/stream/zerocopy.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/stream/zerocopy.h b/util/stream/zerocopy.h
index 3315aa3a51..7676b1baff 100644
--- a/util/stream/zerocopy.h
+++ b/util/stream/zerocopy.h
@@ -57,10 +57,10 @@ protected:
};
/**
-* Input stream with direct access to the input buffer and ability to undo read
-*
-* Derived classes must implement `DoUndo` method.
-*/
+ * Input stream with direct access to the input buffer and ability to undo read
+ *
+ * Derived classes must implement `DoUndo` method.
+ */
class IZeroCopyInputFastReadTo: public IZeroCopyInput {
public:
IZeroCopyInputFastReadTo() noexcept = default;
@@ -74,12 +74,12 @@ protected:
private:
/**
- * Undo read.
- *
- * Note that this function not check if you try undo more that read. In fact Undo used for undo read in last chunk.
- *
- * @param len[in] Bytes to undo.
- */
+ * Undo read.
+ *
+ * Note that this function not check if you try undo more that read. In fact Undo used for undo read in last chunk.
+ *
+ * @param len[in] Bytes to undo.
+ */
inline void Undo(size_t len) {
if (len) {
DoUndo(len);