Documentation ¶
Overview ¶
Package serialization contains constants and utility methods used to serialize .gfxtrace files.
Index ¶
Constants ¶
View Source
const ( StateStart = ProtoFieldID(1) CmdThread = ProtoFieldID(1) CmdResult = ProtoFieldID(1) CmdFieldStart = ProtoFieldID(8) ClassFieldStart = ProtoFieldID(1) MapRef = ProtoFieldID(1) MapVal = ProtoFieldID(2) MapKey = ProtoFieldID(3) RefRef = ProtoFieldID(1) RefVal = ProtoFieldID(2) SliceRoot = ProtoFieldID(1) SliceBase = ProtoFieldID(2) SliceSize = ProtoFieldID(3) SliceCount = ProtoFieldID(4) SlicePool = ProtoFieldID(5) )
These are the proto field identifiers for gapil proto messages.
Variables ¶
This section is empty.
Functions ¶
func IsEncodable ¶
IsEncodable returns true if the node is encodable.
func ProtoTypeName ¶
ProtoTypeName returns the proto type name for the given type.
Types ¶
Click to show internal directories.
Click to hide internal directories.