mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Replace old bigendian marshaller with new one.
This commit is contained in:
@@ -51,7 +51,7 @@ public sealed partial class Dart
|
||||
var headerB = new byte[Marshal.SizeOf<Header>()];
|
||||
|
||||
stream.EnsureRead(headerB, 0, Marshal.SizeOf<Header>());
|
||||
Header header = Marshal.ByteArrayToStructureBigEndianGenerated<Header>(headerB);
|
||||
Header header = Marshal.ByteArrayToStructureBigEndian<Header>(headerB);
|
||||
|
||||
if(header.srcCmp > COMPRESS_NONE) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user