コード例 #1
0
        public static bool TryParse(out CemiLData cemildata, IndividualEndianessBinaryReader br)
        {
            bool result = false;

            try
            {
                cemildata = new CemiLData(br);
                result    = true;
            }
            catch
            {
                cemildata = null;
                result    = false;
            }
            return(result);
        }
コード例 #2
0
        public static bool TryParse(out CemiLData cemildata, byte[] buffer, int offset, int length)
        {
            bool result = false;

            try
            {
                cemildata = new CemiLData(new IndividualEndianessBinaryReader(buffer, offset, length));
                result    = true;
            }
            catch
            {
                cemildata = null;
                result    = false;
            }
            return(result);
        }