hdsdump.F4FOldMethod.ReadInt24(ref byte[], long)

Here are the examples of the csharp api class hdsdump.F4FOldMethod.ReadInt24(ref byte[], long) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

1. Example

Project: hdsdump
Source File: F4FOldMethod.cs
View license
private void ParseAfrtBox(ref byte[] afrt, long pos) {
            this.fragTable.Clear();
#pragma w/n ..... /n //View Source file for more details /n }

2. Example

Project: hdsdump
Source File: F4FOldMethod.cs
View license
private void ParseAsrtBox(ref byte[] asrt, long pos) {
#pragma warning disable 0219
            byte version = ReadByte(ref asrt, pos);
            int flags = (int)ReadInt24(ref asrt, pos + 1);
            int qualityEntryCount = ReadByte(ref asrt, pos + 4);
#pragma warning restore 0219
            this.segTable.Clear();
            pos += 5;
            for (int i = 0; i < qualityEntryCount; i++) {
                this._qualitySegmentUrlModifiers.Add(ReadString(ref asrt, ref pos));
            }
            int segCount = (int)ReadInt32(ref asrt, pos);
            pos += 4;
            Program.DebugLog(String.Format("{0}:\n\n {1,-8}{2,-10}", "Segment Entries", "Number", "Fragments"));
            for (int i = 0; i < segCount; i++) {
                int firstSegment = (int)ReadInt32(ref asrt, pos);
                Segment segEntry = new Segment() {
                    firstSegment        = firstSegment,
                    fragmentsPerSegment = (int)ReadInt32(ref asrt, pos + 4)
                };
                if ((segEntry.fragmentsPerSegment & 0x80000000) > 0)
                    segEntry.fragmentsPerSegment = 0;
                pos += 8;
                this.segTable.Add(segEntry);
                Program.DebugLog(String.Format(" {0,-8}{1,-10}", segEntry.firstSegment, segEntry.fragmentsPerSegment));
            }
            Program.DebugLog("");
        }

3. Example

Project: hdsdump
Source File: F4FOldMethod.cs
View license
private void ParseBootstrapBox(ref byte[] bootstrapInfo, long pos) {
#pragma warning disable 0219
  /n ..... /n //View Source file for more details /n }

4. Example

Project: hdsdump
Source File: F4FOldMethod.cs
View license
private void DecodeFragment(ref byte[] frag, bool testDecode = false) {
            if (frag == null/n ..... /n //View Source file for more details /n }