We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695a5bf commit 82bfb07Copy full SHA for 82bfb07
1 file changed
src/extensions/BootstrapBlazor.Socket/Extensions/DataPropertyExtensions.cs
@@ -29,7 +29,11 @@ static class DataPropertyExtensions
29
var type = attribute.Type;
30
if (type != null)
31
{
32
- if (type == typeof(byte[]))
+ if (type == typeof(byte))
33
+ {
34
+ converter = new DataByteConverter();
35
+ }
36
+ else if (type == typeof(byte[]))
37
38
converter = new DataByteArrayConverter();
39
}
0 commit comments