public static byte [ ] [ ] toByteArrays ( final String [ ] t ) { byte [ ] [ ] result = new byte [ t . length ] [ ] ; for ( int i = 0 ; i < t . length ; i ++ ) { result [ i ] = Bytes . toBytes ( t [ i ] ) ; } return result ; }
Returns an array of byte arrays made from passed array of Text .