Remove Dead Codes

This commit is contained in:
copecone committed 2026-05-28 12:02:15 +09:00
1 parent ec06f99603
commit 2ea5deaba1
6 files changed
-34

No files matched your search

-8
View File
@@ -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>();