Beispiel #1
0
        private static object GetValue(Type objType, ref byte[] dataInfo, ref int location)
        {
            BinaryBuilder valueStr = GetSection(ref dataInfo, endClass, ref location);

            valueStr = valueStr == nullObj ? null : valueStr; //if the value is null, set it to null
            return(BinaryBuilder.ByteToPrimitive(objType, valueStr));
        }