A particular device which is a barcode reader or a barcode scanner, can only decode the barcode generated. It is the only device that is capable of reading a barcode.