MCPcopy
hub / github.com/protocolbuffers/protobuf-go / Bytes

Method Bytes

internal/impl/pointer_unsafe.go:111–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109func (p pointer) StringPtr() **string { return (**string)(p.p) }
110func (p pointer) StringSlice() *[]string { return (*[]string)(p.p) }
111func (p pointer) Bytes() *[]byte { return (*[]byte)(p.p) }
112func (p pointer) BytesPtr() **[]byte { return (**[]byte)(p.p) }
113func (p pointer) BytesSlice() *[][]byte { return (*[][]byte)(p.p) }
114func (p pointer) Extensions() *map[int32]ExtensionField { return (*map[int32]ExtensionField)(p.p) }

Callers 15

mustHandleFlagsFunction · 0.45
marshalMethod · 0.45
marshalSingularMethod · 0.45
marshalAnyMethod · 0.45
TestRoundTripFunction · 0.45
BenchmarkUnmarshalFromFunction · 0.45
marshalAnyMethod · 0.45
marshalMethod · 0.45
marshalSingularMethod · 0.45
GetMethod · 0.45
isSetFunction · 0.45
sizeSingularMethod · 0.45

Calls

no outgoing calls

Tested by 3

mustHandleFlagsFunction · 0.36
TestRoundTripFunction · 0.36
BenchmarkUnmarshalFromFunction · 0.36