diff --git a/CefSharp/PostDataExtensions.cs b/CefSharp/PostDataExtensions.cs index 3cdaa6e631..9938e58ad7 100644 --- a/CefSharp/PostDataExtensions.cs +++ b/CefSharp/PostDataExtensions.cs @@ -77,7 +77,12 @@ public static string GetCharSet(this IRequest request) /// /// post data /// character set - /// encoded string + /// + /// Decodes the byte content of a post data element into a string using the specified character set or the default encoding. + /// + /// The post data element containing the bytes to decode. + /// Optional character set name to use for decoding. If invalid or not provided, the default encoding is used. + /// The decoded string, or null if the byte content is null or empty. public static string GetBody(this IPostDataElement postDataElement, string charSet = null) { var bytes = postDataElement.Bytes;