mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 11:26:44 -04:00
A little safer way to skip 6 bytes...
(cherry picked from commit b76f74e79a
)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user