Add support for Buffers

Closes #5
It may be worth moving the try into a separate function so that the `get` function can be optimized