Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
4baabb74
Commit
4baabb74
authored
Mar 18, 2022
by
Andre Freyssinet
Browse files
Minor changes.
parent
87c988b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
joram/a3/common/src/main/java/fr/dyade/aaa/common/encoding/Encodable.java
View file @
4baabb74
/*
* 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
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment