mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
Minor refactoring.
This commit is contained in:
@@ -9,8 +9,8 @@ interface ConnectionEncrypter {
|
||||
/** Returns an output stream to which unencrypted data can be written. */
|
||||
OutputStream getOutputStream();
|
||||
|
||||
/** Encrypts and writes the MAC for the current frame. */
|
||||
void writeMac(byte[] mac) throws IOException;
|
||||
/** Encrypts and writes the remainder of the current frame. */
|
||||
void writeFinal(byte[] b) throws IOException;
|
||||
|
||||
/** Returns the maximum number of bytes that can be written. */
|
||||
long getRemainingCapacity();
|
||||
|
||||
Reference in New Issue
Block a user