@SuppressWarnings("unused") private void log(String label,ByteBuffer buffer){
  StringBuilder sb=new StringBuilder();
  sb.append(label);
  sb.append(" ");
  sb.append(buffer.get(0));
  sb.append(" | ");
  for (int x=0; x < 64; x++) {
    sb.append(String.format("%02X",(int)(buffer.get(x) & 0xFF)));
    sb.append(" ");
  }
  mLog.debug(sb.toString());
}

@ SuppressWarnings ( "unused" ) private void log ( String label , ByteBuffer buffer ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( label ) ; sb . append ( " " ) ; sb . append ( buffer . get ( 0 ) ) ; sb . append ( " | " ) ; for ( int x = 0 ; x < 64 ; x ++ ) { sb . append ( String . format ( "%02X" , ( int ) ( buffer . get ( x ) & 0xFF ) ) ) ; sb . append ( " " ) ; } mLog . debug ( sb . toString ( ) ) ; }
convenience logger for debugging read / write operations
