mirror of
https://github.com/aaru-dps/AaruBenchmark.git
synced 2025-12-16 19:24:36 +00:00
General refactor and cleanup.
This commit is contained in:
@@ -85,8 +85,7 @@ public class ADC
|
||||
case PLAIN:
|
||||
chunkSize = GetChunkSize(readByte);
|
||||
|
||||
if(outPosition + chunkSize > destination.Length)
|
||||
goto finished;
|
||||
if(outPosition + chunkSize > destination.Length) goto finished;
|
||||
|
||||
Array.Copy(source, inputPosition, destination, outPosition, chunkSize);
|
||||
outPosition += chunkSize;
|
||||
@@ -99,8 +98,7 @@ public class ADC
|
||||
temp[1] = source[inputPosition++];
|
||||
offset = GetOffset(temp);
|
||||
|
||||
if(outPosition + chunkSize > destination.Length)
|
||||
goto finished;
|
||||
if(outPosition + chunkSize > destination.Length) goto finished;
|
||||
|
||||
if(offset == 0)
|
||||
{
|
||||
@@ -129,8 +127,7 @@ public class ADC
|
||||
temp[2] = source[inputPosition++];
|
||||
offset = GetOffset(temp);
|
||||
|
||||
if(outPosition + chunkSize > destination.Length)
|
||||
goto finished;
|
||||
if(outPosition + chunkSize > destination.Length) goto finished;
|
||||
|
||||
if(offset == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user