Add number of bytes per unit to javadoc + test