BinaryConversion Enumeration

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim binaryConversion1 As BinaryConversion = BinaryConversion.Decimal

Syntax

'Declaration
Public Enum BinaryConversion
public enum BinaryConversion
public enum class BinaryConversion
public enum BinaryConversion
public enum BinaryConversion

Members

Member name Description
Decimal Each byte is converted into three characters. This option provides for the easiest conversion between binary and ASCII characters for Visual Basic and similar languages.
Nibble Each byte is converted into two characters. This option provides for the fastest conversion between binary and ASCII characters.
None Data is placed one byte per character, with no conversion. This is the default.

Remarks

When BStrings are used to pass binary data, then these translations can alter the data such that the data byte in a BString character at the application does not match the corresponding byte at the control. This mismatch is more likely when BString pointers are used, because the Unicode characters are presented to the application and/or control, and a language difference between them can cause misinterpretation.

Characters between 0x00 and 0x7F can be sent without fear of language-specific translation. Only characters between 0x80 and 0xFF sometimes cause incorrect translations.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.PointOfService Namespace
BinaryConversion