summaryrefslogtreecommitdiff
path: root/src/node_crypto_bio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_crypto_bio.h')
-rw-r--r--src/node_crypto_bio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node_crypto_bio.h b/src/node_crypto_bio.h
index e565b7fc93..c2fd6a0ba7 100644
--- a/src/node_crypto_bio.h
+++ b/src/node_crypto_bio.h
@@ -59,6 +59,9 @@ class NodeBIO {
~NodeBIO();
+ // Allocate new buffer for write if needed
+ void TryAllocateForWrite();
+
// Read `len` bytes maximum into `out`, return actual number of read bytes
size_t Read(char* out, size_t size);