private void AddFormData(object data) { //currentData.Type = FormType.FORM_CONTENT; PhpBytes bytes = PhpVariable.AsBytes(data); currentData.Data = bytes.ReadonlyData; NextDataIsFooter(); }
public void UploadData(object data) { PhpBytes bytes = PhpVariable.AsBytes(data); UploadData(bytes.ReadonlyData); }