So, most barcode scanners operate in ‘wedge’ mode.
This may be true for RFID scanners, as well.
They emulate a keyboard and some have pass-through ports, for PS/2 keyboard interfaces.
For more ‘custom’ solutions, some also have serial interfaces, so they can be programmatically controlled to scan and read based on the logic you implement.