diff --git a/src/libraries/System.Memory.Data/src/System/BinaryData.cs b/src/libraries/System.Memory.Data/src/System/BinaryData.cs index 2e5dfbfacfb688..b13232f49f0ff1 100644 --- a/src/libraries/System.Memory.Data/src/System/BinaryData.cs +++ b/src/libraries/System.Memory.Data/src/System/BinaryData.cs @@ -192,9 +192,16 @@ public static BinaryData FromObjectAsJson(T jsonSerializable, JsonSerializerO /// /// Converts the value of this instance to a string using UTF-8. /// + /// + /// No special treatment is given to the contents of the data, it is merely decoded as a UTF-8 string. + /// For a JPEG or other binary file format the string will largely be nonsense with many embedded NUL characters, + /// and UTF-8 JSON values will look like their file/network representation, + /// including starting and stopping quotes on a string. + /// /// /// A string from the value of this instance, using UTF-8 to decode the bytes. /// + /// public override unsafe string ToString() { ReadOnlySpan span = _bytes.Span;