Method | Description | |
---|---|---|
DeserializePureNPLDataBlock ( |
||
EncodeStringInQuotation ( string str ) : string |
replace quotation mark in string e.g. "\" will be converted to \"\\\"
|
|
EncodeStringInQuotation ( StringBuilder &buff, int nOutputOffset, string input ) : void |
this is something like string.format("%q") in NPL. [thread-safe] replace quotation mark in string. e.g. "\" will be converted to \"\\\"
|
|
EncodeStringInQuotationFix ( string str ) : string |
this version is the same as EncodeStringInQuotation, except that it is in use on the server side. the server side sees \r as " ". This is a client/server fix for a bug of xml transmission of \r in .net 2.
|
|
MsgStringToNPLTable ( string input ) : |
same as StringToNPLTable(), except that it begins with "msg={...}"
|
|
NPLTableToString ( string sStorageVar, |
||
NPLTableToString ( string sStorageVar, |
||
SerializeNPLTableToString ( string sStorageVar, |
safe convert the NPL table to string. if the input is nil, output is not assigned.
|
|
StringToNPLTable ( string input ) : |
converting string to NPL table object
|
public static DeserializePureNPLDataBlock ( |
||
ls | ||
objProxy | ||
return | bool |
public static EncodeStringInQuotation ( string str ) : string | ||
str | string | if nil, it will return "nil" |
return | string |
public static EncodeStringInQuotation ( StringBuilder &buff, int nOutputOffset, string input ) : void | ||
buff | StringBuilder | into which buffer to write the output |
nOutputOffset | int | the output will be written to output[nOutputOffset]. default to 0,which is the beginning |
input | string | the input string to be encoded |
return | void |
public static EncodeStringInQuotationFix ( string str ) : string | ||
str | string | |
return | string |
public static MsgStringToNPLTable ( string input ) : |
||
input | string | such as "msg={nid=10, name=\"value\", tab={name1=\"value1\"}}" |
return |
public static NPLTableToString ( string sStorageVar, |
||
sStorageVar | string | |
input | ||
sCode | StringBuilder | |
return | bool |
public static NPLTableToString ( string sStorageVar, |
||
sStorageVar | string | |
input | ||
sCode | StringBuilder | |
nCodeOffset | int | |
return | bool |
public static SerializeNPLTableToString ( string sStorageVar, |
||
sStorageVar | string | if null, output is pure table{}, otherwise it is sStorageVar={} |
input | ||
sCode | StringBuilder | |
nCodeOffset | int | |
return | bool |
public static StringToNPLTable ( string input ) : |
||
input | string | such as "{nid=10, name=\"value\", tab={name1=\"value1\"}}" |
return |