mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-30 03:32:49 +00:00
36dc22ddb8
The strs.UnsafeString casts a []byte as a string. This allows us to avoid duplicated functionality. Change-Id: I9930b94bae35eac0f98c0fa62963b300bc8d7e49 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185459 Reviewed-by: Herbie Ong <herbie@google.com>