Represents part of a decoded stream, eVision.EQRCodeDecodedStream, extracted from a QR code (eVision.EQRCode). More...
Public Member Functions | |
| None | __init__ (self) |
| Creates an eVision.EQRCodeDecodedStreamPart.__init__ object. | |
| None | __init__ (self, eVision.EQRCodeDecodedStreamPart other) |
| Copy constructor of an eVision.EQRCodeDecodedStreamPart object. | |
| str | GetDecodedString (self) |
| String containing the concatenated decoded data of this part of the decoded stream. | |
| str | GetDecodedString (self, eVision.EByteInterpretationMode byteInterpretationMode) |
| String containing the concatenated decoded data of this part of the decoded stream. | |
| eVision.EQRCodeEncoding | Encoding (self) |
| Encoding scheme used for this part of the decoded stream. | |
| list[int] | DecodedData (self) |
| Decoded data of this part of the decoded stream represented as a vector of bytes. | |
| int | ECITableIndicator (self) |
| Extended Channel Interpretation (ECI) table indicator. | |
| str | Reserved1 (self) |
Represents part of a decoded stream, eVision.EQRCodeDecodedStream, extracted from a QR code (eVision.EQRCode).
Remarks:
License(s): EasyQRCode
| None eVision.EQRCodeDecodedStreamPart.__init__ | ( | self | ) |
Creates an eVision.EQRCodeDecodedStreamPart.__init__ object.
| None eVision.EQRCodeDecodedStreamPart.__init__ | ( | self, | |
| eVision.EQRCodeDecodedStreamPart | other ) |
Copy constructor of an eVision.EQRCodeDecodedStreamPart object.
| other | Another eVision.EQRCodeDecodedStreamPart. |
| list[int] eVision.EQRCodeDecodedStreamPart.DecodedData | ( | self | ) |
Decoded data of this part of the decoded stream represented as a vector of bytes.
| int eVision.EQRCodeDecodedStreamPart.ECITableIndicator | ( | self | ) |
Extended Channel Interpretation (ECI) table indicator.
Remarks:
The ECI table indicator is relevant if the coding mode of the QR code is eVision.EQRCodeCodingMode.ECI only. Value is otherwise set to -1.
| eVision.EQRCodeEncoding eVision.EQRCodeDecodedStreamPart.Encoding | ( | self | ) |
Encoding scheme used for this part of the decoded stream.
Available values are contained in the eVision.EQRCodeEncoding enum.
| str eVision.EQRCodeDecodedStreamPart.GetDecodedString | ( | self | ) |
String containing the concatenated decoded data of this part of the decoded stream.
Remarks:
No parameter is required if no bytes are encoded or if the ECI byte encoding mode is supported. Exception will be thrown if a parameter is required or if a wrong one is used.
The eVision.EByteInterpretationMode.Hexadecimal parameter throws no exception and will return the bytes hexadecimal values wrapped between '0xEFBFBD'. This mode overrides the ECI mode. Sample : RC -> EFBFBD + RC + EFBFBD -> EFBFBD5243EFBFBD
See eVision.EByteInterpretationMode for more options.
| str eVision.EQRCodeDecodedStreamPart.GetDecodedString | ( | self, | |
| eVision.EByteInterpretationMode | byteInterpretationMode ) |
String containing the concatenated decoded data of this part of the decoded stream.
Remarks:
No parameter is required if no bytes are encoded or if the ECI byte encoding mode is supported. Exception will be thrown if a parameter is required or if a wrong one is used.
The eVision.EByteInterpretationMode.Hexadecimal parameter throws no exception and will return the bytes hexadecimal values wrapped between '0xEFBFBD'. This mode overrides the ECI mode. Sample : RC -> EFBFBD + RC + EFBFBD -> EFBFBD5243EFBFBD
See eVision.EByteInterpretationMode for more options.
| byteInterpretationMode | The eVision.EByteInterpretationMode that should be used to interpret bytes. |
| str eVision.EQRCodeDecodedStreamPart.Reserved1 | ( | self | ) |