question: private List < Byte > toList ( byte [ ] bytes ) { List < Byte > result = new ArrayList < Byte > ( ) ; for ( byte b : bytes ) { result . add ( b ) ; } return result ; }
target:  Arrays.asList() does not work with arrays of primitives.  :( 