/// <summary> /// Compute length of the data after escaping its values /// </summary> /// <param name="data">The data to compute the escaped length for</param> /// <param name="flags">The flags to modify the escaping behavior</param> /// <returns>Returns the length of the escaped data</returns> public static long ComputeLength(byte[] data, UrlEscapeFlags flags) { return(UrlEscapeUtility.ComputeLength(data, flags)); }
/// <summary> /// Compute length of the data after escaping its values /// </summary> /// <param name="data">The data to compute the escaped length for</param> /// <param name="encoding">The encoding to use to convert the string into a byte array</param> /// <param name="flags">The flags to modify the escaping behavior</param> /// <returns>Returns the length of the escaped data</returns> public static long ComputeLength(string data, Encoding encoding, UrlEscapeFlags flags) { return(UrlEscapeUtility.ComputeLength(data, encoding, flags)); }
/// <summary> /// Compute length of the data after escaping its values /// </summary> /// <param name="data">The data to compute the escaped length for</param> /// <returns>Returns the length of the escaped data</returns> public static long ComputeLength(byte[] data) { return(UrlEscapeUtility.ComputeLength(data)); }
/// <summary> /// Compute length of the data after escaping its values /// </summary> /// <param name="data">The data to compute the escaped length for</param> /// <returns>Returns the length of the escaped data</returns> public static long ComputeLength(string data) { return(UrlEscapeUtility.ComputeLength(data)); }