mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-22 07:59:19 +01:00
Minor formatting
This commit is contained in:
parent
0d39c037ad
commit
c1a1961e03
@ -201,12 +201,16 @@ public class NUSDecryption extends AESDecryption {
|
||||
long block = (fileoffset / HASHBLOCKSIZE);
|
||||
long soffset = fileoffset - (fileoffset / HASHBLOCKSIZE * HASHBLOCKSIZE);
|
||||
|
||||
if (soffset + filesize > writeSize) writeSize = writeSize - soffset;
|
||||
if (soffset + filesize > writeSize) {
|
||||
writeSize = writeSize - soffset;
|
||||
|
||||
}
|
||||
|
||||
byte[] encryptedBlockBuffer = new byte[BLOCKSIZE];
|
||||
ByteArrayBuffer overflow = new ByteArrayBuffer(BLOCKSIZE);
|
||||
long wrote = 0;
|
||||
int inBlockBuffer = 0;
|
||||
|
||||
try {
|
||||
do {
|
||||
inBlockBuffer = StreamUtils.getChunkFromStream(inputStream, encryptedBlockBuffer, overflow, BLOCKSIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user