MCPcopy
hub / github.com/tinylib/msgp / RawExtension

Struct RawExtension

msgp/extension.go:101–104  ·  view source on GitHub ↗

RawExtension implements the Extension interface

Source from the content-addressed store, hash-verified

99
100// RawExtension implements the Extension interface
101type RawExtension struct {
102 Data []byte
103 Type int8
104}
105
106// ExtensionType implements Extension.ExtensionType, and returns r.Type
107func (r *RawExtension) ExtensionType() int8 { return r.Type }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected