CharBuffer.SubSequence(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new character buffer that represents the specified subsequence of this buffer, relative to the current position.
public string? SubSequence (int start, int end);
member this.SubSequence : int * int -> string
Parameters
- start
- Int32
The index, relative to the current position, of the first
character in the subsequence; must be non-negative and no larger
than remaining()
- end
- Int32
The index, relative to the current position, of the character
following the last character in the subsequence; must be no
smaller than start
and no larger than
remaining()
Returns
The new character buffer
Remarks
Java documentation for java.nio.CharBuffer.subSequence(int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.