mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -04:00
A little safer way to skip 6 bytes...
This commit is contained in:
parent
78817a489b
commit
b76f74e79a
@ -82,7 +82,10 @@ final class TGAExtensions {
|
||||
extensions.creationDate = readDate(stream);
|
||||
extensions.jobId = readString(stream, 41);
|
||||
|
||||
stream.skipBytes(6); // Job time, 3 shorts, hours/minutes/seconds elapsed
|
||||
// Job time, 3 shorts, hours/minutes/seconds elapsed
|
||||
stream.readShort();
|
||||
stream.readShort();
|
||||
stream.readShort();
|
||||
|
||||
extensions.softwareId = readString(stream, 41);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user