question: public static String readRGBs ( ByteBuffer buffer , int strLen ) { long l = Buffers . readUInt ( buffer ) ; StringBuilder sb = new StringBuilder ( ) ; for ( int i = strLen / 2 - 1 ; i >= 0 ; i -- ) { sb . append ( Integer . toHexString ( ( int ) ( ( l > > i * 8 ) & 0xff ) ) ) ; } return sb . toString ( ) ; }
target:  Read resource value RGB/ARGB type.