corrade-vassal – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | vero | 1 | using System; |
2 | using CSJ2K.Icc; |
||
3 | |||
4 | namespace CSJ2K.Icc.Tags |
||
5 | { |
||
6 | public class ICCSignatureType : ICCTag |
||
7 | { |
||
8 | new public int type; |
||
9 | public int reserved; |
||
10 | new public int signature; |
||
11 | |||
12 | /// <summary> Construct this tag from its constituant parts</summary> |
||
13 | /// <param name="signature">tag id</param> |
||
14 | /// <param name="data">array of bytes</param> |
||
15 | /// <param name="offset">to data in the data array</param> |
||
16 | /// <param name="length">of data in the data array</param> |
||
17 | protected internal ICCSignatureType(int signature, byte[] data, int offset, int length) |
||
18 | : base(signature, data, offset, offset + 2 * ICCProfile.int_size) |
||
19 | { |
||
20 | type = ICCProfile.getInt(data, offset); |
||
21 | reserved = ICCProfile.getInt(data, offset + ICCProfile.int_size); |
||
22 | signature = ICCProfile.getInt(data, offset + ICCProfile.int_size); |
||
23 | } |
||
24 | } |
||
25 | } |