Number function ( byte [ ] arg0 ) { ByteBuffer loc0 = ByteBuffer . wrap ( arg0 ) ; if ( arg0 . length == 4 ) { return loc0 . getFloat ( ) ; } else if ( arg0 . length == 8 ) { return loc0 . getDouble ( ) ; } else { throw new TlvException ( "srini_string" + arg0 . length ) ; } }
decodes a byte array into a float value . concode_field_sep Logger LOG concode_field_sep Date decodeDate concode_elem_sep String decodeString concode_elem_sep Tlv[] decode concode_elem_sep boolean decodeBoolean concode_elem_sep Number decodeInteger