public static List read(InStream in) throws IOException {
  List records=new ArrayList();
  int firstByte=0;
  while ((firstByte=in.readUI8()) != 0) {
    records.add(new ButtonRecord2(in,firstByte));
  }
  return records;
}

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