79805989

Date: 2025-10-31 16:09:49
Score: 1.5
Natty:
Report link

@dbc I had a typo in the original code, which I've fixed. However note that the only way to get Blazor to optimise the interop call to use binary data rather base-64 encoded data is to transfer bytes. If you try to transfer shorts it will use base-64 encoding. (Also note that JSON serialisation has even more overhead than base-64 encoding!)

Reasons:
  • No code block (0.5):
  • User mentioned (1): @dbc
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Matthew Watson