Skip to content

Conversation

@copybara-service
Copy link

Add Unsafe factories for string values.

BytesValue::WrapUnsafe and StringValue::WrapUnsafe do not attempt to validate ownership, but avoid copying the underlying string data as much as possible.

BytesValue::WrapUnsafe and StringValue::WrapUnsafe do not attempt to validate ownership, but avoid copying the underlying string data as much as possible.
PiperOrigin-RevId: 828657464
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants