public bool TryReadRed4FileHeaders(BinaryReader br, [NotNullWhen(true)] out CR2WFileInfo?info)
 {
     // TODO: Shouldn't be done here...
     br.BaseStream.Seek(0, SeekOrigin.Begin);
     using var reader = new CR2WReader(br);
     return(reader.ReadFileInfo(out info) == EFileReadErrorCodes.NoError);
 }
 public bool TryReadRed4FileHeaders(Stream stream, [NotNullWhen(true)] out CR2WFileInfo?info)
 {
     // TODO: Shouldn't be done here...
     stream.Seek(0, SeekOrigin.Begin);
     using var reader = new CR2WReader(stream, Encoding.Default, true);
     return(reader.ReadFileInfo(out info) == EFileReadErrorCodes.NoError);
 }