java.lang.Object
java.lang.Enum<GoKind>
ghidra.app.util.bin.format.golang.rtti.types.GoKind
All Implemented Interfaces:
Serializable, Comparable<GoKind>, Constable

public enum GoKind extends Enum<GoKind>
Enum defining the various golang primitive types
  • Enum Constant Details

    • invalid

      public static final GoKind invalid
    • Bool

      public static final GoKind Bool
    • Int

      public static final GoKind Int
    • Int8

      public static final GoKind Int8
    • Int16

      public static final GoKind Int16
    • Int32

      public static final GoKind Int32
    • Int64

      public static final GoKind Int64
    • Uint

      public static final GoKind Uint
    • Uint8

      public static final GoKind Uint8
    • Uint16

      public static final GoKind Uint16
    • Uint32

      public static final GoKind Uint32
    • Uint64

      public static final GoKind Uint64
    • Uintptr

      public static final GoKind Uintptr
    • Float32

      public static final GoKind Float32
    • Float64

      public static final GoKind Float64
    • Complex64

      public static final GoKind Complex64
    • Complex128

      public static final GoKind Complex128
    • Array

      public static final GoKind Array
    • Chan

      public static final GoKind Chan
    • Func

      public static final GoKind Func
    • Interface

      public static final GoKind Interface
    • Map

      public static final GoKind Map
    • Pointer

      public static final GoKind Pointer
    • Slice

      public static final GoKind Slice
    • String

      public static final GoKind String
    • Struct

      public static final GoKind Struct
    • UnsafePointer

      public static final GoKind UnsafePointer
  • Field Details

  • Method Details

    • values

      public static GoKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GoKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • parseByte

      public static GoKind parseByte(int b)
      Parses the byte value read from the runtime._type kind field.
      Parameters:
      b - byte value
      Returns:
      GoKind enum, or invalid if bad value