CSharpRTMP.Common.MediaFile.ReadUInt8 C# (CSharp) Method

ReadUInt8() public method

public ReadUInt8 ( byte &result ) : bool
result byte
return bool
        public bool ReadUInt8(out byte result)
        {
            try
            {
                result = (byte)DataStream.ReadByte();
            }
            catch (Exception ex)
            {
                result = 0;
                return false;
            }
            return true;
        }