nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
all: fix broken markdown comments with missing or unwanted code blocks
[nit.git]
/
lib
/
string_experimentations
/
utf8.nit
diff --git
a/lib/string_experimentations/utf8.nit
b/lib/string_experimentations/utf8.nit
index
b7a74ce
..
34edd00
100644
(file)
--- a/
lib/string_experimentations/utf8.nit
+++ b/
lib/string_experimentations/utf8.nit
@@
-47,6
+47,7
@@
extern class UnicodeChar `{ UTF8Char* `}
#
# As per the specification :
#
#
# As per the specification :
#
+ # ~~~raw
# Length | UTF-8 octet sequence
# | (binary)
# ---------+-------------------------------------------------
# Length | UTF-8 octet sequence
# | (binary)
# ---------+-------------------------------------------------
@@
-54,6
+55,7
@@
extern class UnicodeChar `{ UTF8Char* `}
# 2 | 110xxxxx 10xxxxxx
# 3 | 1110xxxx 10xxxxxx 10xxxxxx
# 4 | 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
# 2 | 110xxxxx 10xxxxxx
# 3 | 1110xxxx 10xxxxxx 10xxxxxx
# 4 | 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
+ # ~~~
private fun len: Int `{
char* ns = recv->ns;
int pos = recv->pos;
private fun len: Int `{
char* ns = recv->ns;
int pos = recv->pos;