'Send the encoded representation of the given object:
@param obj: An object to encode and send.
@raise BananaError: If the given object is not an instance of one of
the types supported by Banana.
@return: L{None}'

def sendEncoded(self, obj):

    encodeStream = BytesIO()
    self._encode(obj, encodeStream.write)
    value = encodeStream.getvalue()
    self.transport.write(value)
