def __save(self, b):
newbufferidx = (self.__bufferidx + len(b))<EOL>self.__buffer[self.__bufferidx:newbufferidx] = b<EOL>self.__bufferidx = newbufferidx<EOL>
saves the given data to the buffer
:param b: