.NET Framework Class Library  

ByteViewer Class

Displays byte arrays in hexadecimal, ANSI, and Unicode formats.

For a list of all members of this type, see ByteViewer Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.ComponentModel.Design.ByteViewer

[Visual Basic]
Public Class ByteViewer
   Inherits Control
[C#]
public class ByteViewer : Control
[C++]
public __gc class ByteViewer : public Control
[JScript]
public class ByteViewer extends Control

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

ByteViewer provides an interface for viewing hexadecimal, ANSI, and Unicode formatted data.

The DisplayMode enumeration specifies the identifiers that are used to indicate the display mode to use. The Auto display mode selects a default display mode based on the contents of the byte array. ByteViewer uses a simple algorithm to determine what kind of data is stored in the buffer. The hexadecimal Hexdump view displays the hexadecimal values and corresponding byte representations (chars) in a read-only edit box. The default number of columns is 16. The Ansi and Unicode views show the byte array in a read-only edit box. In these views, the a null reference (Nothing in Visual Basic) characters are replaced with Unicode block characters.

Requirements

Namespace: System.ComponentModel.Design

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Design (in System.Design.dll)

See Also

ByteViewer Members | System.ComponentModel.Design Namespace | DisplayMode