Example #1
0
        public override bool TryPeekOpcode(EndianImageReader rdr, out uint opcode)
        {
            bool ret = rdr.TryPeekByte(0, out byte bOpcode);

            opcode = bOpcode;
            return(ret);
        }
Example #2
0
 public override bool TryPeekOpcode(EndianImageReader rdr, out uint opcode)
 {
     if (!rdr.TryPeekByte(0, out byte bOpcode))
     {
         opcode = 0;
         return(false);
     }
     opcode = bOpcode;
     return(true);
 }