safe convert byte to int concode_field_sep int texWidth concode_elem_sep int bitDepth concode_elem_sep int width concode_elem_sep ByteBuffer scratch concode_elem_sep PNGDecoder decoder concode_elem_sep int texHeight concode_elem_sep int height concode_field_sep int getHeight concode_elem_sep int getDepth concode_elem_sep void configureEdging concode_elem_sep int getTexHeight concode_elem_sep int getWidth concode_elem_sep ByteBuffer getImageBufferData concode_elem_sep int getTexWidth concode_elem_sep ByteBuffer loadImage concode_elem_sep ByteBuffer loadImage concode_elem_sep ByteBuffer loadImage concode_elem_sep int get2Fold
int function ( byte arg0 ) { if ( arg0 < 0 ) { return 256 + arg0 ; } return arg0 ; }