nsCRT::memset(p_ap_decode_obj, 0, sizeof(appledouble_decode_object));
memset(p_ap_decode_obj, 0, sizeof(appledouble_decode_object));
int ap_decode_init(	appledouble_decode_object* p_ap_decode_obj,	PRBool	is_apple_single, 	PRBool	write_as_binhex,	void  	*closure){	  nsCRT::memset(p_ap_decode_obj, 0, sizeof(appledouble_decode_object));		/* presume first buff starts a line */	p_ap_decode_obj->uu_starts_line = TRUE; 	if (write_as_binhex)	{		p_ap_decode_obj->write_as_binhex = TRUE;		p_ap_decode_obj->binhex_stream   = (NET_StreamClass*)closure;		p_ap_decode_obj->data_size       = 0;	}	else	{		p_ap_decode_obj->write_as_binhex = FALSE;		p_ap_decode_obj->binhex_stream   = NULL;				p_ap_decode_obj->context = (MWContext*)closure;	}		p_ap_decode_obj->is_apple_single = is_apple_single;		if (is_apple_single)	{		p_ap_decode_obj->encoding = kEncodeNone;	}		return NOERR;}