Commit Graph

103 Commits

Author SHA1 Message Date
0eb589d785 Use Stream extension to ensure read operations return the requested number of bytes (unless EOF arrives first). 2022-11-14 09:43:16 +00:00
ad2d0b8a24 Convert into '?:' expression. 2022-11-14 01:27:16 +00:00
84a5efe216 Remove redundant else. 2022-11-14 01:00:06 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
fca57318f5 Convert to switch expression. 2022-11-13 19:59:30 +00:00
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
98d7ac3349 Move declaration closer to usage. 2022-11-13 19:16:14 +00:00
e295fcf133 Fix parent block identifier in AaruFormat. 2022-05-20 19:38:01 +01:00
e803ae4519 Fix AaruFormat's DDT verification when its size on-image is bigger than 1MiB. Fixes #726 2022-04-13 13:40:51 +01:00
46d9a65b06 Fix writing uncompressed AaruFormat. 2022-04-09 16:46:09 +01:00
f0fa4d4320 Remove unused code. 2022-03-17 23:54:41 +00:00
f6245f954d Add inheritdoc. 2022-03-17 00:46:15 +00:00
ff65da6c48 Use merge pattern. 2022-03-16 11:47:00 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
af42ecffb7 Fix reading long sectors from AaruFormat image when all suffixes and prefixes are standard. 2022-03-05 11:34:27 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
477751f0bc Change FLAC parameters in AaruFormat. 2021-11-12 02:09:44 +00:00
a42fac1f0b Change LZMA LC parameter in AaruFormat. 2021-11-12 02:07:28 +00:00
2f7c52731c Decouple AaruFormat compression from LZMA. 2021-11-12 02:05:31 +00:00
0bb89dce45 Do not reallocate the data buffers in AaruFormat. 2021-11-06 21:10:36 +00:00
b85414376a Use a buffer instead of a stream for writing data in AaruFormat. 2021-11-06 20:55:17 +00:00
9329eafcca Update to Aaru.Compression.Native alpha7. 2021-11-06 20:06:10 +00:00
7deeb23309 Use Aaru.Compression.FLAC in AaruFormat. 2021-11-06 17:44:57 +00:00
9503172a3e Use Aaru.Compression.LZMA in AaruFormat. 2021-11-06 02:16:57 +00:00
edcce2895b Do not skip blocks that have CRC as 0, as we do not set them for DDTs and CD Prefix/Suffix. 2021-11-05 01:49:14 +00:00
3b2a2ec71f Add CRVdisc. 2021-10-06 14:43:34 +01:00
42597b89cf Remove all image thrown exceptions. 2021-09-21 04:55:28 +01:00
97c6b131b5 Refactor IOpticalMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-21 03:42:15 +01:00
bc8382e495 Refactor IOpticalMediaImage.ReadSector(s)Long to return error status instead of buffer. 2021-09-21 02:59:54 +01:00
b7fa638410 Refactor IOpticalMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-21 01:38:54 +01:00
34df6087ce Refactor IMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-20 20:52:18 +01:00
a6690aa121 Refactor IMediaImage.ReadSector(s)Long to return error status instead of buffer. 2021-09-20 14:22:22 +01:00
f51d414abd Refactor IMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-19 21:16:47 +01:00
fbccfb2ca9 Refactor IMediaImage.ReadMediaTag to return error status instead of buffer. 2021-09-18 15:01:31 +01:00
ef2fc1788a Refactor IMediaImage.Open to return error status instead of boolean. 2021-09-16 19:10:39 +01:00
8982cfc8c9 Use properties instead of methods in IFilter. 2021-09-15 11:25:26 +01:00
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
4fcaeffc85 Merge into pattern. 2021-08-17 18:24:01 +01:00
fdff1d74c9 Use Array.Empty<T>. 2021-08-17 18:23:50 +01:00
fabccff0df Fix reading DVD keys from AaruFormat. 2021-08-17 17:59:01 +01:00
83f149438d Remove redundant casts. 2021-08-17 17:55:17 +01:00
f757716c2c Convert part of loop into LINQ. 2021-08-17 17:51:01 +01:00
ad861f5a74 Fix possible exceptions. 2021-08-17 17:14:48 +01:00
770066e53f Remove unused code 2021-08-17 16:58:31 +01:00
c6f5ece939 Remove redundant assignments. 2021-08-17 14:40:50 +01:00
c1287c00cf Remove redundant parentheses. 2021-08-17 14:27:19 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
4bc01c986c Another workaround for corrupt multisession AaruFormat images. 2021-07-12 18:22:00 +01:00