Add return values so that we can check for invalid arguments (for example when the chip has only one buffer). See #17
Add return values so that we can check for invalid arguments (for example when the chip has only one buffer).
See #17