public static void put3ByteInt(ByteBuffer buffer,int val,ByteOrder order){
  int pos=buffer.position();
  put3ByteInt(buffer,val,pos,order);
  buffer.position(pos + 3);
}

public static void put3ByteInt ( ByteBuffer buffer , int val , ByteOrder order ) { int pos = buffer . position ( ) ; put3ByteInt ( buffer , val , pos , order ) ; buffer . position ( pos + 3 ) ; }
put an integer into the given buffer at the given offset as a 3 - byte integer .
