mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Messages are no longer encoded as raw byte arrays.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
package net.sf.briar.api.protocol;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.security.GeneralSecurityException;
|
||||
|
||||
public interface MessageParser {
|
||||
|
||||
Message parseMessage(byte[] raw) throws IOException,
|
||||
GeneralSecurityException;
|
||||
}
|
||||
@@ -59,5 +59,5 @@ public interface Reader {
|
||||
|
||||
boolean hasUserDefinedTag() throws IOException;
|
||||
int readUserDefinedTag() throws IOException;
|
||||
void readUserDefinedTag(int i) throws IOException;
|
||||
void readUserDefinedTag(int tag) throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user