Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/PrimitiveType

PrimitiveType

enum PrimitiveType : Enum<PrimitiveType>

A primitive type in the prof.

Entries

LONG LONG(11, 8)
INT INT(10, 4)
SHORT SHORT(9, 2)
BYTE BYTE(8, 1)
DOUBLE DOUBLE(7, 8)
FLOAT FLOAT(6, 4)
CHAR CHAR(5, 2)
BOOLEAN BOOLEAN(4, 1)

Types

Name Summary
Companion object Companion

Properties

Name Summary
byteSize val byteSize: Int
The size in bytes for each value of that type.
hprofType val hprofType: Int
The hprof defined "basic type".
name val name: String
ordinal val ordinal: Int