einstein/einsteingame/buffer.py

11 lines
203 B
Python
Raw Normal View History

2015-10-30 16:42:05 +00:00
class Buffer(object):
2015-11-04 12:46:33 +00:00
def __init__(self):
self.__size = 0
self.__data = ''
def setSize(self, size):
self.__size = size
def getData(self):
return self.__data