From 16df0023256832643d75fe197bc93d80f82e84f6 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Wed, 7 Dec 2022 08:32:44 -0600 Subject: [PATCH] Crypt/Base: add a function to check continuous buffer status --- phpseclib/Crypt/Base.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/phpseclib/Crypt/Base.php b/phpseclib/Crypt/Base.php index 83cab630..1336d0ef 100644 --- a/phpseclib/Crypt/Base.php +++ b/phpseclib/Crypt/Base.php @@ -2744,4 +2744,15 @@ class Crypt_Base function do_nothing() { } + + /** + * Is the continuous buffer enabled? + * + * @access public + * @return boolean + */ + function continuousBufferEnabled() + { + return $this->continuousBuffer; + } }