Use `buf_as_slice` in `Bitmap`
Merge pull request #15 from Coeuvre/master

Use `buf_as_slice` in `Bitmap`