public void setOemName ( String name ) { if ( name . length ( ) > 8 ) throw new IllegalArgumentException ( "only 8 characters are allowed" ) ; for ( int i = 0 ; i < 8 ; i ++ ) { char ch ; if ( i < name . length ( ) ) { ch = name . charAt ( i ) ; } else { ch = ( char ) 0 ; } set8 ( 0x3 + i , ch ) ; } }
Sets the OEM name must be at most 8 characters long .