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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_crypto_bio.h b/src/node_crypto_bio.h
index 615fea944e..0b9b3440c5 100644
--- a/src/node_crypto_bio.h
+++ b/src/node_crypto_bio.h
@@ -55,6 +55,10 @@ class NodeBIO {
// contiguous data available to read
char* Peek(size_t* size);
+ // Return pointers and sizes of multiple internal data chunks available for
+ // reading
+ size_t PeekMultiple(char** out, size_t* size, size_t* count);
+
// Find first appearance of `delim` in buffer or `limit` if `delim`
// wasn't found.
size_t IndexOf(char delim, size_t limit);