Exemple #1
0
 public object GetCSLEObject(CodeToolBase _codetool, string _classname)
 {
     if (mCSLEObject == null)
     {
         mCSLEObject = ProtoBufferReaderBuilderCSLS.GetCSLEObject(_codetool, mData, mLen, _classname);
     }
     return(mCSLEObject);
 }
            static public object GetCSLEObject(CodeToolBase _codetool, byte[] _buffer, int _len, string _classname)
            {
                if (string.IsNullOrEmpty(_classname))
                {
                    return(null);
                }
                ProtoBufferReaderBuilderCSLS tcslspro = new ProtoBufferReaderBuilderCSLS(_codetool, _buffer, _len, _classname);

                return(tcslspro.Value);
            }