public static void WriteGetPhotoThumbnailResult(this DataOutputStream output, String thumbnailBase64String) { if (thumbnailBase64String == null) { throw new ArgumentNullException("thumbnailBase64String"); } output.WriteByteArray(Convert.FromBase64String(thumbnailBase64String)); }
public static void WriteGetResponseResult(this DataOutputStream output, AskResponse value) { if (value == null) { throw new ArgumentNullException("value"); } output.WriteInt32(value.AskQuestionID); output.WriteString(value.Question); output.WriteByteArray(Convert.FromBase64String(value.PhotoBase64Binary)); output.WriteInt32Array(value.ResponseValues); output.WriteFloat(Convert.ToSingle(value.Average)); output.WriteInt32(value.ResponseType); output.WriteStringArray(value.CustomResponses); }
public void Return(DataOutputStream output) { output.WriteByteArray(Convert.FromBase64String(_result)); }
public void Return(DataOutputStream output) { output.WriteByteArray(Convert.FromBase64String(_result)); }