ByteWindow with an underlying byte array for storage.
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| protected int | copy(int
offset within the window to start copying from. p, byte[] destination buffer to copy into. b, int offset within o, int dstbuf to start copying into.number of bytes to copy. This value may exceed the number of
bytes remaining in the window starting at offset
n)pos.Implements abstract org. Copy bytes from the window to a caller supplied buffer. |
| pack-priv void | |
| protected int | setInput(int
position pos, Inflater an inf)java. object.Implements abstract org. Set the input |
| pack-priv void | write(PackOutputStream out, long pos, int cnt)
Implements abstract org.
|
| array | back to summary |
|---|---|
| private final byte[] array | |
| ByteArrayWindow | back to summary |
|---|---|
| pack-priv ByteArrayWindow(Pack pack, long o, byte[] b) | |
| check | back to summary |
|---|---|
| pack-priv void check(Inflater inf, byte[] tmp, long pos, int cnt) throws DataFormatException | |
| copy | back to summary |
|---|---|
| protected int copy(int p, byte[] b, int o, int n) Implements abstract org. Doc from org. Copy bytes from the window to a caller supplied buffer.
| |
| crc32 | back to summary |
|---|---|
| pack-priv void crc32(CRC32 out, long pos, int cnt) | |
| setInput | back to summary |
|---|---|
| protected int setInput(int pos, Inflater inf) throws DataFormatException Implements abstract org. Doc from org. Set the input
| |
| write | back to summary |
|---|---|
| pack-priv void write(PackOutputStream out, long pos, int cnt) throws IOException Implements abstract org.
| |