question: protected List < byte [ ] > convertStringListToByteArray ( List < String > valueList ) { List < byte [ ] > byteArrayList = new ArrayList < > ( valueList . size ( ) ) ; for ( String value : valueList ) { byteArrayList . add ( value . getBytes ( Charset . defaultCharset ( ) ) ) ; } return byteArrayList ; }
target:  this method will convert list of string to list of byte array