public static void putUnsignedByte(ByteBuffer bb,short v,int offset){
  bb.put(offset,(byte)(v & 0xff));
}

public static void putUnsignedByte ( ByteBuffer bb , short v , int offset ) { bb . put ( offset , ( byte ) ( v & 0xff ) ) ; }
put an unsigned byte into the specified bytebuffer at the specified offset
