V1/Cet.Develop.WP.IO/ByteArray/ByteArrayReader.cs
/// <summary>
/// Try to read a byte, if available, and return true if succeeded
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
Try to read a byte, if available, and return true if succeeded
Try to read a byte if available and return true if succeeded
public bool TryReadByte(out byte value)
        {
            if (this.CanRead(1))
            {
                value = this.ReadByte();
                return true;
            }
            else
            {
                value = 0;
                return false;
            }
        }
public bool TryReadByte ( out byte value ) { if ( this . CanRead ( 1 ) ) { value = this . ReadByte ( ) ; return true ; } else { value = 0 ; return false ; } }
Try to read a byte, if available, and return true if succeeded
Try to read a byte if available and return true if succeeded
None
byte
out
value
None