ByteBuffer function ( final String arg0 ) { try { final byte [ ] loc0 = arg0 . getBytes ( "srini_string" ) ; return ByteBuffer . wrap ( loc0 ) ; } catch ( final UnsupportedEncodingException loc0 ) { LOG . error ( "srini_string" , loc0 ) ; return ByteBuffer . allocate ( 0 ) ; } }
converts the specified string to a bytebuffer . the string encoding is assumed to be ascii . concode_field_sep CharsetDecoder DECODER concode_elem_sep Logger LOG concode_field_sep Collection<byte[]> splitToByteArrays concode_elem_sep Collection<ByteBuffer> split concode_elem_sep byte[] toByteArray concode_elem_sep void putUnsignedByte concode_elem_sep void putUnsignedByte concode_elem_sep String toAsciiString concode_elem_sep void putUnsignedShort concode_elem_sep void putUnsignedShort concode_elem_sep boolean isUdp concode_elem_sep String getString concode_elem_sep ByteBuffer createBuffer concode_elem_sep void putUnsignedInt concode_elem_sep void putUnsignedInt