MCPcopy
hub / github.com/benoitc/gunicorn / _read_exact

Method _read_exact

gunicorn/uwsgi/message.py:116–118  ·  view source on GitHub ↗

Read exactly size bytes from the unreader.

(self, unreader, size)

Source from the content-addressed store, hash-verified

114 return b""
115
116 def _read_exact(self, unreader, size):
117 """Read exactly size bytes from the unreader."""
118 return unreader.read(size)
119
120 def _parse_vars(self, data):
121 """Parse uWSGI vars block into key-value pairs.

Calls 1

readMethod · 0.45