Mercury API
ByteFormat Class
Namespaces ► ThingMagic ► ByteFormat
Convert byte arrays to and from human-readable strings
Declaration Syntax

C# | Visual Basic | Visual C++

    public static class ByteFormat

    Public NotInheritable Class ByteFormat

    public ref class ByteFormat abstract sealed

Members

All Members | Methods
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| bytesToWords(array<Byte>[]()[]) | Converts word array to byte array
| FromHex(String) | Convert human-readable hex string to byte array; e.g., 123456 or 0x123456 -> {0x12, 0x34, 0x56};
| ToHex(array<Byte>[]()[]) | Convert byte array to human-readable hex string; e.g., {0x12, 0x34, 0x56} -> 123456
| ToHex(array<Byte>[]()[], String, String) | Convert byte array to human-readable hex string; e.g., {0x12, 0x34, 0x56} -> 123456
| ToHex(array<UInt16>[]()[]) | Convert u16 array to human-readable hex string; e.g., {0x1234, 0x5678} -> 12345678
| wordsToBytes(array<UInt16>[]()[]) | Converts byte array to word array

Inheritance Hierarchy

Object
| ByteFormat

Assembly: MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)