public interface BinaryScrambler
Modifier and Type | Method and Description |
---|---|
Binary |
getUnscrambledBinary(File file,
String digets,
String repoName)
Gets an unscrambled
Binary for the given file. |
void |
reset()
Reset scrambling from start.
|
void |
scrambleBuffer(byte[] buf,
int off,
int n)
Scramble a buffer at the given offset for n bytes.
|
void |
skip(long n)
Skips n bytes during unscrambling.
|
void |
unscrambleBuffer(byte[] buf,
int off,
int n)
Unscramble a buffer at the given offset for n bytes.
|
void scrambleBuffer(byte[] buf, int off, int n)
void unscrambleBuffer(byte[] buf, int off, int n)
Binary getUnscrambledBinary(File file, String digets, String repoName)
Binary
for the given file.void skip(long n)
void reset()
Copyright © 2013 Nuxeo SA. All Rights Reserved.