byte [ ] function ( int arg0 , String arg1 ) { ByteBuffer loc0 = ByteBuffer . allocate ( arg1 . length ( ) + 1 ) ; loc0 . put ( arg1 . getBytes ( "srini_string" ) ) ; loc0 . put ( ( byte ) 0 ) ; return generateMessage ( CMD_OPEN , arg0 , 0 , loc0 . array ( ) ) ; }
generates an open stream message with the specified local id and destination . concode_field_sep int CMD_CLSE concode_elem_sep int magic concode_elem_sep int CONNECT_VERSION concode_elem_sep int payloadLength concode_elem_sep int AUTH_TYPE_RSA_PUBLIC concode_elem_sep int CMD_AUTH concode_elem_sep int CMD_WRTE concode_elem_sep byte[] CONNECT_PAYLOAD concode_elem_sep int CMD_OPEN concode_elem_sep int CMD_CNXN concode_elem_sep int command concode_elem_sep int CMD_SYNC concode_elem_sep int AUTH_TYPE_TOKEN concode_elem_sep int AUTH_TYPE_SIGNATURE concode_elem_sep byte[] payload concode_elem_sep int arg1 concode_elem_sep int CONNECT_MAXDATA concode_elem_sep int arg0 concode_elem_sep int checksum concode_elem_sep int ADB_HEADER_LENGTH concode_elem_sep int CMD_OKAY concode_field_sep byte[] generateMessage concode_elem_sep int getPayloadChecksum concode_elem_sep byte[] generateClose concode_elem_sep boolean validateMessage concode_elem_sep byte[] generateAuth concode_elem_sep byte[] generateReady concode_elem_sep byte[] generateConnect concode_elem_sep byte[] generateWrite concode_elem_sep AdbMessage parseAdbMessage