fix test
fix doc
fix test for windows
serialize some of buffer meta information (no backward compatibility)