nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src: Added complete FlatString generation from compiler
[nit.git]
/
lib
/
core
/
text
/
abstract_text.nit
diff --git
a/lib/core/text/abstract_text.nit
b/lib/core/text/abstract_text.nit
index
1faaad3
..
584a287
100644
(file)
--- a/
lib/core/text/abstract_text.nit
+++ b/
lib/core/text/abstract_text.nit
@@
-1817,6
+1817,12
@@
redef class NativeString
# Returns `self` as a String of `length`.
fun to_s_with_length(length: Int): String is abstract
# Returns `self` as a String of `length`.
fun to_s_with_length(length: Int): String is abstract
+
+ # Returns `self` as a String with `bytelen` and `length` set
+ #
+ # SEE: `abstract_text::Text` for more infos on the difference
+ # between `Text::bytelen` and `Text::length`
+ fun to_s_full(bytelen, unilen: Int): String is abstract
end
redef class NativeArray[E]
end
redef class NativeArray[E]