public static byte [ ] getBytes ( final String string ) { try { return string . getBytes ( JoddCore . encoding ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( e ) ; } }
Returns String bytes using Jodds default encoding .