Example #1
0
        public byte GetByte(bool align)
        {
            if (!HasBytes(1))
            {
                Result.Invalidate();
                return(0);
            }
            if (align)
            {
                return(_dataReader.GetByte());
            }

            return((byte)_dataReader.GetBits(8));
        }
 public byte GetByte()
 {
     return(_dataReader.GetByte());
 }