liteserver / binn

Binary Serialization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using binn in C# possible?

hubertcy opened this issue · comments

I am looking for ways to use binn library in C# but could not get it to work by editing the header file like below (adding dll export). Any direction you can point me to?

__declspec(dllexport) ALWAYS_INLINE BOOL Binn_object_set_str(binn *obj, char *key, char *str) {
return binn_object_set(obj, key, BINN_STRING, str, 0);
}

You already created a question about C#. Stop creating duplicated questions.

Wait for someone that knows C# or learn the language by yourself.