mirror of
https://github.com/aaru-dps/Aaru.Decoders.git
synced 2025-12-16 19:24:32 +00:00
More pattern matching.
This commit is contained in:
@@ -57,8 +57,7 @@ public static class ATIP
|
||||
{
|
||||
public static CDATIP Decode(byte[] CDATIPResponse)
|
||||
{
|
||||
if(CDATIPResponse == null ||
|
||||
CDATIPResponse.Length <= 4)
|
||||
if(CDATIPResponse is not { Length: > 4 })
|
||||
return null;
|
||||
|
||||
var decoded = new CDATIP();
|
||||
|
||||
Reference in New Issue
Block a user