mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Removed silly SerialComponent interface.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
package org.briarproject.api.serial;
|
||||
|
||||
public interface SerialComponent {
|
||||
|
||||
int getSerialisedListStartLength();
|
||||
|
||||
int getSerialisedListEndLength();
|
||||
|
||||
int getSerialisedUniqueIdLength();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package org.briarproject.api.serial;
|
||||
|
||||
import org.briarproject.api.UniqueId;
|
||||
|
||||
public interface SerialConstants {
|
||||
|
||||
int LIST_START_LENGTH = 1;
|
||||
|
||||
int LIST_END_LENGTH = 1;
|
||||
|
||||
int UNIQUE_ID_LENGTH = 2 + UniqueId.LENGTH;
|
||||
}
|
||||
Reference in New Issue
Block a user