Merge pull request #14 from 4og/master

Fix parameter order in buffer::clear_buffer_sub_data