Commit 4baabb74 authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Minor changes.

parent 87c988b3
/*
* Copyright (C) 2013 ScalAgent Distributed Technologies
* Copyright (C) 2013 - 2022 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -26,7 +26,6 @@ package fr.dyade.aaa.common.encoding;
* needs to be encoded according to the encoding framework.
*/
public interface Encodable {
public static final int BOOLEAN_ENCODED_SIZE = 1;
public static final int BYTE_ENCODED_SIZE = 1;
......@@ -48,8 +47,7 @@ public interface Encodable {
int getEncodableClassId();
/**
* Returns the size of the byte array that results
* from the encoding of this object.
* Returns the size of the byte array that results from the encoding of this object.
* @return the size of the encoded byte array
* @throws Exception if an error occurs
*/
......@@ -68,5 +66,4 @@ public interface Encodable {
* @throws Exception if an error occurs
*/
void decode(Decoder decoder) throws Exception;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment