Mercurial > projects > dwt-linux
comparison dwt/internal/image/JPEGEndOfImage.d @ 13:3d9bbe0a83a0
FileFormats
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 06 Jan 2008 22:54:14 +0100 |
parents | |
children | 8cec8f536af3 |
comparison
equal
deleted
inserted
replaced
12:0c78fa47d476 | 13:3d9bbe0a83a0 |
---|---|
1 /******************************************************************************* | |
2 * Copyright (c) 2000, 2003 IBM Corporation and others. | |
3 * All rights reserved. This program and the accompanying materials | |
4 * are made available under the terms of the Eclipse Public License v1.0 | |
5 * which accompanies this distribution, and is available at | |
6 * http://www.eclipse.org/legal/epl-v10.html | |
7 * | |
8 * Contributors: | |
9 * IBM Corporation - initial API and implementation | |
10 *******************************************************************************/ | |
11 module dwt.internal.image.JPEGEndOfImage; | |
12 | |
13 import dwt.internal.image.JPEGFixedSizeSegment; | |
14 import dwt.internal.image.JPEGFileFormat; | |
15 import dwt.internal.image.LEDataInputStream; | |
16 | |
17 final class JPEGEndOfImage : JPEGFixedSizeSegment { | |
18 | |
19 public this() { | |
20 super(); | |
21 } | |
22 | |
23 public this(byte[] reference) { | |
24 super(reference); | |
25 } | |
26 | |
27 public int signature() { | |
28 return JPEGFileFormat.EOI; | |
29 } | |
30 | |
31 public int fixedSize() { | |
32 return 2; | |
33 } | |
34 } |