Add set/appendBuffer with length and offset for Buffers and byte[].

Fixes #25