byte [ ] function ( String arg0 ) { Preconditions . checkNotNull ( arg0 ) ; try { return arg0 . getBytes ( "srini_string" ) ; } catch ( UnsupportedEncodingException loc0 ) { throw new RuntimeException ( "srini_string" , loc0 ) ; } }
helper method that transforms provided string into it 's byte representation using ascii encoding concode_field_sep byte[] GIF_HEADER_89A concode_elem_sep byte[] JPEG_HEADER concode_elem_sep byte[] PNG_HEADER concode_elem_sep byte[] BMP_HEADER concode_elem_sep int GIF_HEADER_LENGTH concode_elem_sep int EXTENDED_WEBP_HEADER_LENGTH concode_elem_sep int SIMPLE_WEBP_HEADER_LENGTH concode_elem_sep byte[] GIF_HEADER_87A concode_elem_sep int MAX_HEADER_LENGTH concode_field_sep boolean isGifHeader concode_elem_sep ImageFormat getImageFormat concode_elem_sep ImageFormat getImageFormat concode_elem_sep boolean isPngHeader concode_elem_sep int readHeaderFromStream concode_elem_sep boolean matchBytePattern concode_elem_sep ImageFormat doGetImageFormat concode_elem_sep boolean isJpegHeader concode_elem_sep boolean isBmpHeader concode_elem_sep ImageFormat getImageFormat_WrapIOException concode_elem_sep ImageFormat getWebpFormat