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

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