Commit 741cfc1e authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Minor changes.

parent 404aa70f
/*
* 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
......@@ -100,6 +100,8 @@ public interface Decoder {
/**
* Decodes a string that can be null.
* Be careful, since Joram 5.19, by default String are encoded using UTF-8.
*
* @return the decoded value
* @throws Exception if an error occurs during decoding
*/
......@@ -107,6 +109,8 @@ public interface Decoder {
/**
* Decodes a string that cannot be null.
* Be careful, since Joram 5.19, by default String are encoded using UTF-8.
*
* @return the decoded value
* @throws Exception if an error occurs during decoding
*/
......@@ -114,6 +118,8 @@ public interface Decoder {
/**
* Decodes a string that cannot be null.
* Be careful, since Joram 5.19, by default String are encoded using UTF-8.
*
* @param length the length of the string
* @return the decoded value
* @throws Exception if an error occurs during decoding
......@@ -169,5 +175,4 @@ public interface Decoder {
* @throws Exception if an error occurs during decoding
*/
double decodeDouble() throws Exception;
}
/*
* 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
......@@ -111,6 +111,8 @@ public interface Encoder {
/**
* Encodes a string that can be null.
* Be careful, since Joram 5.19, by default String are encoded using UTF-8.
*
* @param str the value to encode
* @throws Exception if an error occurs during encoding
*/
......@@ -118,6 +120,8 @@ public interface Encoder {
/**
* Encodes a string that cannot be null.
* Be careful, since Joram 5.19, by default String are encoded using UTF-8.
*
* @param str the value to encode
* @throws Exception if an error occurs during encoding
*/
......
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