Update buffer.h

change ssize_t to size_t