byte [ ] function ( Number arg0 ) { ByteBuffer loc0 = null ; double loc1 = arg0 . doubleValue ( ) ; if ( loc1 >= Float . MIN_VALUE && loc1 <= Float . MAX_VALUE ) { loc0 = ByteBuffer . allocate ( 4 ) ; loc0 . putFloat ( ( float ) loc1 ) ; } else { loc0 = ByteBuffer . allocate ( 8 ) ; loc0 . putDouble ( loc1 ) ; } return loc0 . array ( ) ; }
encodes a floating point value . concode_field_sep Logger LOG concode_field_sep ByteBuffer encode concode_elem_sep void encode concode_elem_sep int tlvEncodedLength concode_elem_sep byte[] encodeString concode_elem_sep int tlvEncodedSize concode_elem_sep byte[] encodeInteger concode_elem_sep byte[] encodeBoolean concode_elem_sep byte[] encodeDate