'value -- a value to read from for stringio
If value is set, this will be a transport for reading,
otherwise, it is for writing'

def __init__(self, value=None):

    if (value is not None):
        self._buffer = StringIO(value)
    else:
        self._buffer = StringIO()
