- Update local storage query constant and function calls - Remove null and control characters from UTF-8 split functionpull/224/head
parent
5376184c7e
commit
6c1f653b4f
@ -1,10 +1,8 @@ |
||||
package byteutil |
||||
|
||||
var ( |
||||
OnSplitUTF8Func = func(r rune) rune { |
||||
if r == 0x00 || r == 0x01 { |
||||
return -1 |
||||
} |
||||
return r |
||||
var OnSplitUTF8Func = func(r rune) rune { |
||||
if r == 0x00 || r == 0x01 { |
||||
return -1 |
||||
} |
||||
) |
||||
return r |
||||
} |
||||
|
Loading…
Reference in new issue