File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
spring-core/src/main/java/org/springframework/core/io/buffer Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,9 @@ public interface DataBuffer {
220
220
* data buffer's content. Data between this data buffer and the returned buffer is
221
221
* shared; though changes in the returned buffer's position will not be reflected
222
222
* in the reading nor writing position of this data buffer.
223
+ * <p><strong>Note</strong> that this method will <strong>not</strong> call
224
+ * {@link DataBufferUtils#retain(DataBuffer)} on the resulting slice: the reference
225
+ * count will not be increased.
223
226
* @param index the index at which to start the slice
224
227
* @param length the length of the slice
225
228
* @return the specified slice of this data buffer
You can’t perform that action at this time.
0 commit comments