Unverified Commit 8ebf7581 authored by Jacques Supcik's avatar Jacques Supcik Committed by GitHub

fix return value of getBytes (#7981)

parent bad5af9e
......@@ -578,7 +578,7 @@ Copy a series of bytes stored against a given key in the currently open namespac
- the number of bytes to be written to the buffer pointed to by ``buf``
**Returns**
* if successful, the number of bytes equal to ``len`` is written to buffer ``buf``, and the method returns ``1``.
* if successful, the number of bytes equal to ``len`` is written to buffer ``buf``, and the method returns ``len``.
* if the method fails, nothing is written to the buffer and the method returns ``0``.
**Notes**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment