Bug fix
Merge pull request #997 from Finomnis/master

Bug fix in util/serialize_buffer.hpp