Messages are no longer encoded as raw byte arrays.

This commit is contained in:
akwizgran
2011-07-19 14:01:33 +01:00
parent 30fc6c1a92
commit ff984c69fb
11 changed files with 116 additions and 79 deletions

View File

@@ -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;
}

View File

@@ -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;
}