// The QRDecoder converts byte array to text string the class using this conversion
- public static string ByteArrayToStr(byte[] DataArray) {
- Decoder = Encoding.UTF8.GetDecoder();
- int CharCount = Decoder.GetCharCount(DataArray, 0, DataArray.Length);
- char[] CharArray = new char[CharCount];
- Decoder.GetChars(DataArray, 0, DataArray.Length, CharArray, 0);
- return new string(CharArray);
- }
it is converting byte to string ...can anyone tell me how is it working

Sapna GirishRank #1,811 · 819 reputationPosted Aug 7, 2019, 4:18 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Aug 7, 2019, 4:27 PM EDT
Amit KumarRank #459 · 5.4K reputationPosted Aug 7, 2019, 6:26 PM EDT
Sonu GuptaRank #1,261 · 1.4K reputationPosted Aug 7, 2019, 8:06 PM EDT
Maen BadwanRank #2,520 · 556 reputationPosted Aug 8, 2019, 4:52 AM EDT
https://www.leadtools.com/help/leadtools/v20/dh/ba/barcodereader.html
Also, you can use the .NET cloud services from LEADTOOLS to extract (read) barcodes from images. For details see this link:
https://services.leadtools.com/documentation/tutorials