public static void putChar(long addr,char val){
  if (UNALIGNED)   UNSAFE.putChar(addr,val);
 else   putCharByByte(addr,val,BIG_ENDIAN);
}

public static void putChar ( long addr , char val ) { if ( UNALIGNED ) UNSAFE . putChar ( addr , val ) ; else putCharByByte ( addr , val , BIG_ENDIAN ) ; }
stores given char value . alignment aware .
