public void GetChars(UnsafeRefToNativeList <Char16> buff, byte *byte_ptr, int byte_len, bool splitData = false) { NativeBase64Encoder.GetCharsImpl(info_ptr, buff, byte_ptr, byte_len, splitData); }
/// <summary> /// Create the unsafe reference to NativeJaggedArray<T>. /// </summary> /// <param name="view_tgt"></param> public UnsafeRefToNativeJaggedArray(NativeJaggedArray <T> view_tgt) { _buff = new UnsafeRefToNativeList <T>(view_tgt._buff); _elemIndexList = new UnsafeRefToNativeList <ElemIndex>(view_tgt._elemIndexList); #if ENABLE_UNITY_COLLECTIONS_CHECKS genTracePtr = (long *)view_tgt.genTrace.GetUnsafePtr(); genSignaturePtr = view_tgt.genSignature.Target; #endif }
public UnsafeRefToNativeHeadRemovableList(NativeHeadRemovableList <T> list) { _list = new UnsafeRefToNativeList <T>(list._list); _start = list._start.Target; }
public bool GetBytes(UnsafeRefToNativeList <byte> buff, Char16 *char_ptr, int char_len) { return(NativeBase64Decoder.GetBytesImpl(info_ptr, buff, char_ptr, char_len)); }
public bool GetBytes(UnsafeRefToNativeList <byte> buff, UnsafeRefToNativeList <Char16> str) { return(NativeBase64Decoder.GetBytesImpl(info_ptr, buff, (Char16 *)str.GetUnsafePtr(), str.Length)); }
public bool GetBytes <T>(UnsafeRefToNativeList <byte> buff, T str) where T : IJaggedArraySliceBase <Char16> { return(NativeBase64Decoder.GetBytesImpl(info_ptr, buff, (Char16 *)str.GetUnsafePtr(), str.Length)); }
public void Terminate(UnsafeRefToNativeList <Char16> buff) { NativeBase64Encoder.TerminateImpl(info_ptr, buff); }
public void GetChars(UnsafeRefToNativeList <Char16> buff, UnsafeRefToNativeList <byte> bytes, bool splitData = false) { NativeBase64Encoder.GetCharsImpl(info_ptr, buff, (byte *)bytes.GetUnsafePtr(), bytes.Length, splitData); }
public unsafe void Add(UnsafeRefToNativeList <Char16> str) { this.Add((Char16 *)str.GetUnsafePtr(), str.Length); }
public static void *GetRadOnlyUnsafePtr <T>(this UnsafeRefToNativeList <T> list) where T : unmanaged { return(list._list->Ptr); }
/// <summary> /// specialize for UnsafeRefToNativeList<T> /// </summary> /// <param name="list"></param> public unsafe void Add(UnsafeRefToNativeList <T> list) { this.Add((T *)list.GetUnsafePtr(), list.Length); }