Skip to content

Commit

Permalink
JavaDoc tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobAtticus committed Aug 4, 2015
1 parent 0b22d58 commit 78e840a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/iobeam/api/resource/DataPoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,10 @@ public static DataPoint fromByteArray(byte[] array) {
*
* Starts with 8 bytes for time and 1 byte for type for a total of 9 bytes. Then, based on value
* type, it does the following:
* - int/long/float/double: 8 bytes for the value, for 17 total bytes.
* - strings: 4 bytes for string length, then X bytes for string for a total of 13 + X bytes.
*
* (1) int/long/float/double: 8 bytes for the value, for 17 total bytes.
*
* (2) strings: 4 bytes for string length, then X bytes for string for a total of 13 + X bytes.
*
* @return Byte array representation
*/
Expand Down

0 comments on commit 78e840a

Please sign in to comment.