'Renders the contents of this tag as a bytestring.'

def encode_contents(self, indent_level=None, encoding=DEFAULT_OUTPUT_ENCODING, formatter='minimal'):

    contents = self.decode_contents(indent_level, encoding, formatter)
    return contents.encode(encoding)
