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