canParseBytes abstract method

bool canParseBytes(
  1. Uint8List content
)

Tests if the provided binary content is likely in this codec's format.

Used for codec auto-detection when no explicit MIME type is available. Should perform quick heuristic checks (e.g., magic bytes) without attempting a full parse.

Implementation

bool canParseBytes(Uint8List content);