mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-10 11:50:20 +00:00
csharp: fix char pack/unpack problem on Mono
This commit is contained in:
parent
0812eb1c04
commit
94e5b0d78f
2 changed files with 27 additions and 1 deletions
|
|
@ -42,6 +42,11 @@ namespace msgpack
|
|||
}
|
||||
}
|
||||
|
||||
public void Write (char x)
|
||||
{
|
||||
Write ((ushort)x);
|
||||
}
|
||||
|
||||
public void Write (uint x)
|
||||
{
|
||||
if (x < 0x10000) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue