Skip to content

Commit

Permalink
Make UnsafeByteOperations stable; removing experimental annotation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 610787227
  • Loading branch information
protobuf-github-bot authored and Copybara-Service committed Feb 27, 2024
1 parent fe60e5b commit 0070ac1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

/**
* Provides a number of unsafe byte operations to be used by advanced applications with high
* performance requirements. These methods are referred to as "unsafe" because they
* potentially expose the backing buffer of a {@link ByteString} to the application.
* performance requirements. These methods are referred to as "unsafe" because they potentially
* expose the backing buffer of a {@link ByteString} to the application.
*
* <p><strong>DISCLAIMER:</strong> The methods in this class should only be called if it is
* guaranteed that the buffer backing the {@link ByteString} will never change! Mutation of a {@link
Expand All @@ -38,7 +38,6 @@
* parts of the code base modifying the buffer. In fact, both parts of the code base may be correct
* - it is the bridging with the unsafe operations that was in error!
*/
@ExperimentalApi
public final class UnsafeByteOperations {
private UnsafeByteOperations() {}

Expand Down

0 comments on commit 0070ac1

Please sign in to comment.