richardschneider / net-ipfs-engine

IPFS Core API implementation in .Net
MIT License
107 stars 49 forks source link

Publish binary message #104

Open richardschneider opened 5 years ago

richardschneider commented 5 years ago

The http server does not publish binary message correctly. It generates the wrong message data bytes.

The basic issue is that the message data is interpreted as a UTF-8 string not as 8-bit data array. Need to use a special decoder for the argument.

See this test