Skip to content

UI.HexViewer

Name Mandatory Description Default Type
⬅️ Input The data to visualize. Supports primitive types only (floats, ints, string and bytes). BytesEnumFloatFloat2Float3Float4IntInt2Int3Int4Int8Int16String
Output ➡️ The output of this shard will be its input. BytesEnumFloatFloat2Float3Float4IntInt2Int3Int4Int8Int16String

Displays an hexadecimal viewer of data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@wire(ui-wire {
  UI.Window(
    Title: "UI Hex Viewer"
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      Once({
        "Hello shards!" >= text
      })

      UI.Horizontal(
        {
          "Text: " | UI.Label
          UI.TextField(text)
        }
      )

      text | UI.HexViewer
    }
  )
} Looped: true)

{ui-behavior: ui-wire}