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;
}