org.littleshoot.util
Class InputRecord
java.lang.Object
org.littleshoot.util.InputRecord
public class InputRecord
- extends Object
Encapsulates a single record of encrypted input data.
|
Constructor Summary |
InputRecord(byte[] readKey)
Creates a new input record that will decode data using the specified
key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputRecord
public InputRecord(byte[] readKey)
- Creates a new input record that will decode data using the specified
key.
- Parameters:
readKey - The key to decode data with.
needsData
public boolean needsData()
addData
public void addData(ByteBuffer bb)
drainData
public int drainData(byte[] buf,
int off,
int len)
hasMoreData
public boolean hasMoreData()
Copyright © 2011-2013 LittleShoot. All Rights Reserved.