public class Copy extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
JPEG_EOI |
static byte[] |
JPEG_SOI |
| Constructor and Description |
|---|
Copy() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
indexOf(byte[] buffer,
byte[] sig,
int from) |
protected static boolean |
isSignatureAt(byte[] buffer,
int pos,
byte[] sig) |
static void |
main(String[] args) |
public static final byte[] JPEG_SOI
public static final byte[] JPEG_EOI
public static void main(String[] args) throws IOException
args - IOExceptionprotected static boolean isSignatureAt(byte[] buffer,
int pos,
byte[] sig)
pos - sig - protected static int indexOf(byte[] buffer,
byte[] sig,
int from)
sig - from - Copyright © 2015. All rights reserved.