def write_boolean(self, val):
raise NotImplementedError()<EOL>
Writes a bool value to this output stream. Single byte value 1 represent True, 0 represent False

:param val: (bool), the bool to be written.