Utf8Vector
loreline.Utf8Vector (Class)
Mirrors the loreline.Utf8 extension API but over a Vector
Use with: using loreline.Utf8Vector;
Method names, signatures and return types match loreline.Utf8, so call sites (input.uCharCodeAt(pos), input.uSubstr(...), ...) resolve here or on loreline.Utf8 purely by the receiver type, with no other change.
Static Members
uLength(v: haxe.ds.Vector<Int>): Int| Name | Type |
|---|---|
v |
haxe.ds.Vector<Int> |
| Returns |
|---|
| Int |
uCharCodeAt(v: haxe.ds.Vector<Int>, pos: Int): Int| Name | Type |
|---|---|
v |
haxe.ds.Vector<Int> |
pos |
Int |
| Returns |
|---|
| Int |
uSubstr(v: haxe.ds.Vector<Int>, pos: Int, ?len: Int): String| Name | Type | Default |
|---|---|---|
v |
haxe.ds.Vector<Int> | |
pos |
Int | |
len |
Int | (optional) |
| Returns |
|---|
| String |
uSubstring(v: haxe.ds.Vector<Int>, startIndex: Int, ?endIndex: Int): String| Name | Type | Default |
|---|---|---|
v |
haxe.ds.Vector<Int> | |
startIndex |
Int | |
endIndex |
Int | (optional) |
| Returns |
|---|
| String |
uCharAt(v: haxe.ds.Vector<Int>, pos: Int): String| Name | Type |
|---|---|
v |
haxe.ds.Vector<Int> |
pos |
Int |
| Returns |
|---|
| String |
uIndexOf(v: haxe.ds.Vector<Int>, substr: String, ?startIndex: Int): Int| Name | Type | Default |
|---|---|---|
v |
haxe.ds.Vector<Int> | |
substr |
String | |
startIndex |
Int | (optional) |
| Returns |
|---|
| Int |
Private Members
slice(v: haxe.ds.Vector<Int>, start: Int, end: Int): String| Name | Type |
|---|---|
v |
haxe.ds.Vector<Int> |
start |
Int |
end |
Int |
| Returns |
|---|
| String |