question: public static List read ( InStream in ) throws IOException { List records = new ArrayList ( ) ; int firstByte = 0 ; while ( ( firstByte = in . readUI8 ( ) ) != 0 ) { records . add ( new ButtonRecord ( in , firstByte ) ) ; } return records ; }
target:  Read a button record array