csharp: use span-based ToBase64 in ByteString (#16976)
With .NET 5+, a copy can be avoided when the memory is not an array.
Closes #16976
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16976 from verdie-g:main fd4f5aeee4
PiperOrigin-RevId: 638968774
pull/16971/head
parent
c12c73212d
commit
efaaeba6a8
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue