Using the following code to convert Flow_Rate from a 'double' to a byte array I received the output: [B@6a2b8b42
How do I check that the output is correct?
private double Flow_Rate= 8;
OFVendor of_vendor = new OFVendor();
byte [] rate = ByteBuffer.allocate(8).putDouble(Flow_Rate).array();
of_vendor.setData(rate);
Logger.stderr("ZB---->> ClientChannelWatcher::handleConnectedEvent OFVendor setData() : "+rate);