integrate libbuffer
improve the documentation