func google.golang.org/protobuf/proto.Size
12 uses
google.golang.org/protobuf/proto (current package)
size.go#L15: func Size(m Message) int {
google.golang.org/protobuf/internal/impl
codec_field.go#L264: return protowire.SizeBytes(proto.Size(m)) + tagsize
codec_field.go#L269: b = protowire.AppendVarint(b, uint64(proto.Size(m)))
codec_field.go#L407: return 2*tagsize + proto.Size(m)
codec_field.go#L526: n += protowire.SizeBytes(proto.Size(m)) + tagsize
codec_field.go#L537: siz := proto.Size(m)
codec_field.go#L587: n += protowire.SizeBytes(proto.Size(m)) + tagsize
codec_field.go#L598: siz := proto.Size(m)
codec_field.go#L656: n += 2*tagsize + proto.Size(m)
codec_field.go#L744: n += 2*tagsize + proto.Size(m)
github.com/golang/protobuf/proto
deprecated.go#L107: return protoV2.Size(MessageV2(m))
wire.go#L18: return protoV2.Size(mi)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |