Class NewGuid
- java.lang.Object
-
- ghidra.app.util.datatype.microsoft.NewGuid
-
public class NewGuid extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
size
-
Constructor Summary
Constructors Constructor Description NewGuid(DataConverter conv, byte[] bytes, int offset)
NewGuid(DataConverter conv, java.lang.String GUID, java.lang.String delim, GuidUtil.GuidType type, boolean hasVersion)
Creates a GUID data type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object test)
byte[]
getBytes()
java.lang.String
getName()
GuidUtil.GuidType
getType()
java.lang.String
getVersion()
int
hashCode()
boolean
isOK()
static boolean
isOKForGUID(byte[] bytes, int offset)
static boolean
isZeroGUID(byte[] bytes, int offset)
java.lang.String
toString(java.lang.String delim, boolean useName)
-
-
-
Constructor Detail
-
NewGuid
public NewGuid(DataConverter conv, java.lang.String GUID, java.lang.String delim, GuidUtil.GuidType type, boolean hasVersion)
Creates a GUID data type.
-
NewGuid
public NewGuid(DataConverter conv, byte[] bytes, int offset)
-
-
Method Detail
-
toString
public java.lang.String toString(java.lang.String delim, boolean useName)
-
isOK
public boolean isOK()
-
isOKForGUID
public static boolean isOKForGUID(byte[] bytes, int offset)
-
isZeroGUID
public static boolean isZeroGUID(byte[] bytes, int offset)
-
equals
public boolean equals(java.lang.Object test)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getBytes
public byte[] getBytes()
-
getName
public java.lang.String getName()
-
getVersion
public java.lang.String getVersion()
-
getType
public GuidUtil.GuidType getType()
-
-