summaryrefslogtreecommitdiff
path: root/Buffer Protocol.md
diff options
context:
space:
mode:
Diffstat (limited to 'Buffer Protocol.md')
-rw-r--r--Buffer Protocol.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/Buffer Protocol.md b/Buffer Protocol.md
new file mode 100644
index 0000000..4284c12
--- /dev/null
+++ b/Buffer Protocol.md
@@ -0,0 +1,9 @@
+---
+tags:
+ - python
+---
+The buffer protocol provides access to underlying memory buffer.
+
+The producer is the type that wraps a buffer and implements the "buffer interface" through which they export data about the underlying buffer.
+
+The consumer is who gains access to the underlying buffer. \ No newline at end of file