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

ReadByte() private static method

private static ReadByte ( byte byteValue, bool specified, System binaryReader ) : byte?
byteValue byte
specified bool
binaryReader System
return byte?
        private static byte? ReadByte(byte? byteValue, bool specified, System.IO.BinaryReader binaryReader)
        {
            if (specified)
            {
                if (byteValue.HasValue)
                    return byteValue;
                return binaryReader.ReadByte();
            }
            return null;
        }