2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2020-01-27 12:52:26 +03:00
parent eca142b37b
commit 741819e11c
9 changed files with 124 additions and 72 deletions

View File

@ -1041,8 +1041,8 @@ namespace Esyur.Data
if (data.Length < offset + length)
return null;
if (length == data.Length && offset == 0)
return data;
// if (length == data.Length && offset == 0)
// return data.ToArray();
var b = new byte[length];
Buffer.BlockCopy(data, (int)offset, b, 0, (int)length);