AgGateway.ADAPT.ISOv4Plugin.ImportMappers.LogMappers.BinaryReader.ReadInt32 C# (CSharp) Method

ReadInt32() private static method

private static ReadInt32 ( double d, bool specified, System binaryReader ) : int?
d double
specified bool
binaryReader System
return int?
        private static int? ReadInt32(double? d, bool specified, System.IO.BinaryReader binaryReader)
        {
            if (specified)
            {
                if (d.HasValue)
                    return (int)d.Value;

                return binaryReader.ReadInt32();
            }
            return null;
        }