Denso BHT-400-CE Reference Manual page 108

Bar code handy terminal class library reference manual
Table of Contents

Advertisement

Note
Calling this method while barcode reading is disabled will cause an exception to be thrown.
When displaying the read data, it is necessary to use the encoding class and convert to
Unicode.
[Ex.] Use the ANSI code page encoding currently set in the system and convert to
Unicode.
[VB]
Dim buffer(MAX_2DCODE_LEN) As Byte
Input(buffer, 0, ALL_BUFFER)
Dim strDisplayData As String = System.Text.Encoding.Default.GetString(buffer)
[C#]
byte[] buffer = new byte[MAX_2DCODE_LEN];
Input(buffer, 0, ALL_BUFFER);
string strDisplayData = System.Text.Encoding.Default.GetString(buffer);
- 102 -

Advertisement

Table of Contents
loading

Table of Contents