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

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

1 Example 7

1. Example

Project: hdsdump
Source File: F4FOldMethod.cs
View license
private static void ReadBoxHeader(ref byte[] bytesData, ref long pos, ref string boxType, ref long boxSize) {
            boxSize = ReadInt32(ref bytesData, pos);
            boxType = ReadStringBytes(ref bytesData, pos + 4, 4);
            if (boxSize == 1) {
                boxSize = ReadInt64(ref bytesData, pos + 8) - 16;
                pos += 16;
            } else {
                boxSize -= 8;
                pos += 8;
            }
        }