Anonymous user
Run-length encoding: Difference between revisions
m
→UTF String Version
m (→encoding: changed comments and indentation, added a comment. -- ~~~~) |
|||
Line 796:
Encoded: 12W1B12W3B24W1B14W</pre>
===UTF String Version===
D's native string is utf-encoded. This version
<lang d>import std.stdio, std.conv, std.utf, std.array;
|