A barcode is a pattern of variable-width bars and spaces which represents numeric or alphanumeric data in machine-readable form. The general format of a barcode symbol consists of a leading margin, start character, data or message character, check character (if any), stop character, and trailing margin. Within this framework, each recognizable symbology uses its own unique format.