示例#1
0
        private static void Encode(this stringEncoder s, slice<byte> dst) => func((_, panic, __) =>
        {
            if (copy(dst, s) != len(s))
            {
                panic("internal error");
            }

        });
示例#2
0
 private static long Len(this stringEncoder s)
 {
     return len(s);
 }