question: default byte [ ] writeAsBytes ( Array array ) { try ( ByteArrayOutputStream stream = new ByteArrayOutputStream ( ) ) { write ( array , stream ) ; return stream . toByteArray ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; return new byte [ ] { } ; } }
target:  Write the supplied array to bytes using UTF-8.