Hello Everybody,
Can someone help me out here, I have a piece of C-sharp code but I want to implement this in native Delphi code I searched for a equivalent list but cannot find one. Thanks in advance.
C#-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9:
| AC[] acArray = new AC[1]; bool flag = false; FileStream input = new FileStream(sFile, FileMode.Open, FileAccess.Read); BinaryReader reader = new BinaryReader(input); reader.BaseStream.Seek(2L, SeekOrigin.Begin); int num = reader.ReadInt32(); reader.BaseStream.Seek(9L, SeekOrigin.Begin); if ((reader.ReadInt32() == -1) & (num == 0x989d56)) { |
I'm intrested in the whole Filestream/Binaryreader pirce also a translation for the reader.readint32 part
is welcome.
again thanks in advance.
Johan