std.encoding.encoding_scheme.index
- multiple declarations
- Function EncodingScheme.index
- Function EncodingScheme.index
- Function EncodingScheme.index
- Function EncodingScheme.index
- Function EncodingScheme.index
- Function EncodingScheme.index
- Function EncodingScheme.index
Function EncodingScheme.index
Returns the array index
at which the (n
+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's
in-contract.
Prototype
long index( const(ubyte)[] s, ulong n );
Parameters
Name | Description |
---|---|
s | the string to be counted |
n | the current code point index |
Function EncodingScheme.index
Returns the array index
at which the (n
+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's
in-contract.
Prototype
long index( const(ubyte)[] s, ulong n );
Parameters
Name | Description |
---|---|
s | the string to be counted |
n | the current code point index |
Function EncodingScheme.index
Returns the array index
at which the (n
+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's
in-contract.
Prototype
long index( const(ubyte)[] s, ulong n );
Parameters
Name | Description |
---|---|
s | the string to be counted |
n | the current code point index |
Function EncodingScheme.index
Returns the array index
at which the (n
+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's
in-contract.
Prototype
long index( const(ubyte)[] s, ulong n );
Parameters
Name | Description |
---|---|
s | the string to be counted |
n | the current code point index |
Function EncodingScheme.index
Returns the array index
at which the (n
+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's
in-contract.
Prototype
long index( const(ubyte)[] s, ulong n );
Parameters
Name | Description |
---|---|
s | the string to be counted |
n | the current code point index |
Function EncodingScheme.index
Returns the array index
at which the (n
+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's
in-contract.
Prototype
long index( const(ubyte)[] s, ulong n );
Parameters
Name | Description |
---|---|
s | the string to be counted |
n | the current code point index |
Function EncodingScheme.index
Returns the array index
at which the (n
+1)th code point begins.
The input to this function MUST be validly encoded.
This is enforced by the function's
in-contract.
Prototype
long index( const(ubyte)[] s, ulong n );
Parameters
Name | Description |
---|---|
s | the string to be counted |
n | the current code point index |
Authors
Janice Caron