code: def SetDecodedStreamSize(self, decoded_stream_size):
      
      if self._is_open:
        raise IOError('Already open.')
  
      if decoded_stream_size < 0:
        raise ValueError((
            'Invalid decoded stream size: {0:d} value out of '
            'bounds.').format(decoded_stream_size))
  
      self._decoded_stream_size = decoded_stream_size
docs: Sets the decoded stream size.
  
      This function is used to set the decoded stream size if it can be
      determined separately.
  
      Args:
        decoded_stream_size (int): size of the decoded stream in bytes.
  
      Raises:
        IOError: if the file-like object is already open.
        OSError: if the file-like object is already open.
        ValueError: if the decoded stream size is invalid.