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:
@@ -93,8 +93,7 @@ public static class CDTextOnLeadIn
|
||||
|
||||
public static CDText? Decode(byte[] CDTextResponse)
|
||||
{
|
||||
if(CDTextResponse == null ||
|
||||
CDTextResponse.Length <= 4)
|
||||
if(CDTextResponse is not { Length: > 4 })
|
||||
return null;
|
||||
|
||||
var decoded = new CDText
|
||||
|
||||
Reference in New Issue
Block a user