예제 #1
0
        public override object Read(IProtocolBuffer buffer)
        {
            uint           data   = buffer.ReadUInt();
            IBitCustomType result = (IBitCustomType)Activator.CreateInstance(mType);

            result.Load(data);
            return(result);
        }
예제 #2
0
 public override object Read(IProtocolBuffer buffer)
 {
     return(buffer.ReadUInt());
 }