public final JBBPTextWriter Radix ( final int radix ) { if ( radix < 2 || radix > 36 ) { throw new IllegalArgumentException ( "Unsupported radix value [" + radix + ' ' ) ; } this . radix = radix ; this . maxCharsRadixForByte = JBBPUtils . ulong2str ( 0xFF L , this . radix , CHAR_BUFFER ) . length ( ) ; this . maxCharsRadixForShort = JBBPUtils . ulong2str ( 0xFFFF L , this . radix , CHAR_BUFFER ) . length ( ) ; this . maxCharsRadixForInt = JBBPUtils . ulong2str ( 0xFFFFFFFF L , this . radix , CHAR_BUFFER ) . length ( ) ; this . maxCharsRadixForLong = JBBPUtils . ulong2str ( 0xFFFFFFFFFFFFFFFF L , this . radix , CHAR_BUFFER ) . length ( ) ; return this ; }
Set radix .