ZXing Barcode Scanning object Pascal Library for Delphi VCL and Delphi Firemonkey
479
stars
204
forks
source link
TBitArrayImplementation.ensureCapacity - Count for Move must multiplied by element size in bytes #151
Closed
JedrzejczykRobert closed 1 year ago
file: ZXing.Common.BitArrayImplementation line: 86
current:
Move(Fbits[0], newBits[0], Length(Fbits));
should be:
Move(Fbits[0], newBits[0], Length(Fbits) * SizeOf(Fbits[0]));