You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed Unsafe API design explicitly mentioned availability Segment.size and Segment.remainingCapacity properties.
Moreover, some of our samples use these properties.
However, properties themselves remain internal.
Without having access to these properties it is quite hard to reason about number of bytes that could be read from or written to a segment using Unsafe API, thus we need to make them public.
The text was updated successfully, but these errors were encountered:
Proposed Unsafe API design explicitly mentioned availability
Segment.size
andSegment.remainingCapacity
properties.Moreover, some of our samples use these properties.
However, properties themselves remain internal.
Without having access to these properties it is quite hard to reason about number of bytes that could be read from or written to a segment using Unsafe API, thus we need to make them public.
The text was updated successfully, but these errors were encountered: