gh-123 Append and set to Buffer with offset and length