The BasicCardString type exposes the following members.

Constructors

  NameDescription
Public methodBasicCardString()()()()
Constructs an empty BasicCardString
Public methodBasicCardString(array<Byte>[]()[][])
Constructs a BasicCardString from raw binary data
Public methodBasicCardString(String, String)

Constructs a BasicCardString from .Net String by using specified encoding for converting .Net Unicode characters into proper BasicCard single byte characters.

Please note: BasicCard card internal String library functions work properly with ASCII strings only. Still you may store any value within a BasicCard String including binary and Unicode formats.

Public methodBasicCardString(String, Encoding)

Constructs a BasicCardString from .Net String by using specified encoding for converting .Net Unicode characters into proper BasicCard single byte characters.

Please note: BasicCard card internal String library functions work properly with ASCII strings only. Still you may store any value within a BasicCard String including binary and Unicode formats.

Methods

  NameDescription
Public methodClone
Clone object
Public methodEquals
Check if obj is equal to this BasicCardString
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Get hash code
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString()()()()
Get .Net String for BasicCardString
(Overrides Object..::..ToString()()()().)
Public methodToString(String)
Get .Net String for BasicCardString using specified conversion
Public methodToString(Encoding)
Get .Net String for BasicCardString using specified conversion

Fields

  NameDescription
Public fieldStatic memberCharsetIdAscii
7 bit ASCII (.Net Encoding Name "us-ascii")
Public fieldStatic memberCharsetIdLatin1
8 bit western European character set Latin 1, same as ISO8859-1 (.Net Encoding Name "iso-8859-1")
Public fieldStatic memberCharsetIdRaw
8 bit raw data. Each .Net character (16bit) is assigned to one BasicCard character (8bit) without conversion.
Public fieldStatic memberCharsetIdUtf16
16 bit UCS transformation format, byte order identified by an optional byte-order mark (.Net Encoding Name "UTF-16"). Each .Net character is stored within 2 BASIC characters (16 bit) of the BasicCard string.
Public fieldStatic memberCharsetIdUtf16be
16 bit UCS transformation format, big-endian byte order (.Net Encoding Name "UTF-16BE"). Each .Net (Unicode) character is stored within 2 BASIC characters (16 bit) of the BasicCard string. Big-endian format is used to place the single .Net character within two BASIC characters.
Public fieldStatic memberCharsetIdUtf16le
16 bit UCS transformation format, little-endian byte order (.Net Encoding Name "UTF-16BE"). Each .Net (Unicode) character is stored within 2 BASIC characters (16 bit) of the BasicCard string. Little-endian format is used to place the single .Net character within two BASIC characters.
Public fieldStatic memberCharsetIdUtf8
8 bit UCS transformation format. The UTF-8 character set uses one byte for most important (ASCII) characters and multiple bytes for less commonly used or none western european characters.
Public fieldStatic memberCharsetIdWindows
8 bit western European (Windows) character set. (.Net encoding name "windows-1252")
Protected fielddata
data

Properties

  NameDescription
Public propertyCharacters
Get BasicCard (single byte) characters
Public propertyCharsetID
character set ID used for encoding this BasicCardString
Public propertyEncoding
encoding used for encoding this BasicCardString
Public propertyItem
Access a BasicCard string character (.Net Byte)
Public propertyLength
Length of this BasicCardString in bytes or BasicCard characters

See Also