SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Remove Dead Codes
This commit is contained in:
1 parent
ec06f99603
commit
2ea5deaba1
6 files changed
-34
No files matched your search
@@ -58,14 +58,6 @@ namespace ADOFAIRenderer.Util.FFmpeg
|
||||
return array;
|
||||
}
|
||||
|
||||
/*public static byte[] RentRawBytes<T>(NativeArray<T> arr) where T : struct
|
||||
{
|
||||
var val = new NativeSlice<T>(arr).SliceConvert<byte>();
|
||||
var array = ArrayPool<byte>.Shared.Rent(val.Length);
|
||||
val.CopyTo(array);
|
||||
return array;
|
||||
}*/
|
||||
|
||||
protected static byte[] ToRawBytes<T>(NativeArray<T> arr) where T : struct
|
||||
{
|
||||
var val = new NativeSlice<T>(arr).SliceConvert<byte>();
|
||||
|
||||
Reference in new issue
Block a user