// cha ,java 里面有个bug啊,计算datasize有问题,回过头去改一下(python,...其他有没有问题啊,查查!)
public int datasize()
{
int size = 0;
//string key, val;
UTF8Encoding utf8 = new UTF8Encoding();
foreach (KeyValuePair <string, string> kv in _props)
{
size += RpcBinarySerializer.getByteCount(kv.Key) + RpcBinarySerializer.getByteCount(kv.Value);
}
return(size);
}