Misc buffer fixes

- Introduce BufferFix(...), to be used after BufferGet(...)
- Fix documentation