Пример #1
0
        public static void Terminate(NativeBase64Encoder encoder,
                                     NativeList <Char16> chars)
        {
            var enc = encoder.GetUnsafeRef();
            var res = chars.GetUnsafeRef();

            Base64EncodingBurstCompile._terminateDelegate(ref enc, ref res);
        }
Пример #2
0
        public static void GetChars(NativeBase64Encoder encoder,
                                    NativeList <Char16> chars,
                                    byte *ptr, int len, bool splitData = false)
        {
            var enc = encoder.GetUnsafeRef();
            var res = chars.GetUnsafeRef();

            Base64EncodingBurstCompile._getCharsDelegate(ref enc, ref res, ptr, len, splitData);
        }